iSeries RPG Lawson API calls

Sort:
You are not authorized to post a reply.
Author
Messages
bitnerd5305
New Member
Posts: 3
New Member
    I've heard rumors of a conversion utility that will convert a Lawson Cobol program to a Lawson RPG program. Can anyone confirm or dispell this rumor? I've heard it referred to as delmid.

    Does anyone have information or a link on what the names are for an RPG API routine and the corresponding Cobol API paragraph are within the Lawson environment?

    Thanks in advance
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      'delmid' is an internal Lawson tool that they use to port their COBOL code to RPG. Although Lawson delivers 'delmid' with the Environment, they don't deliver some of the underlying code artifacts which are called by 'delmid'. You can try it, but I haven't been able to get it to work.

      What sort of API translations are you trying to do? I.e. Database APIs?

      e.g., RPG: CALLP DN@DBIFGLM1(E@DBFINDEQ) --> COBOL: PERFORM 840-FIND-GLMSET1
      Thanks for using the LawsonGuru.com forums!
      John
      bitnerd5305
      New Member
      Posts: 3
      New Member
        John,

        Thanks for your response. I'm sorry to hear it's an internal Lawson application.

        I have alot of DB translations like the one you showed.

        When you try to run delmid, do you run it on the source platform or the target platform?

        I'd like to try and see what kind of results I get.

        Have you ever thought about writing something, like this, yourself? Do you think others would find it useful?

        Do you have a reference that shows the translations?

        Thanks,

        Eric
        John Henley
        Senior Member
        Posts: 3348
        Senior Member
          I don't have a reference. I'm assuming you're trying to port some interfaces or something as part of a platform change? You might want to contact Analysts International or CIBER--they do a lot of this type of work...
          Thanks for using the LawsonGuru.com forums!
          John
          Scott Krueger
          Basic Member
          Posts: 14
          Basic Member
            If the programs are in COBOL and you have a COBOL compiler on your iSeries. You can move the source over and compile them on the iSeries. There is a little modification to be made to the code. They will run just fine.

            Lawson's delmid tool doesn't translate the COBOL into very efficent RPG code. Most of the code that runs on the iSeries has been rewritten by Lawson to run more efficently

            If you need additional help with this please feel free to contact me.

            Scott K
            You are not authorized to post a reply.