ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Convert System 36 RPG II to RPG III and System 36 OCL to CLP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convert System 36 RPG II to RPG III and System 36 OCL to CLP

    Hello guys,

    Also. please let me know where to find the H, F, I, E, C and O forms for RPG III environment.

    Appreciate your comments on this.

    Thanks

  • #2
    Not wishing to be rude - but what possible value is there in converting from one obsolete language to another? There is probably nobody in the world, apart from you, who would want to do it so tooling and help is going to be hard to come by.

    RPG III layouts are fundamentally the same as RPG/400 layouts (another all-but-obsolete) language so any IBM manuals or other books on RPG/400 will give you that detail.

    Converting RPG II to even the current version of RPG (RPG IV aka ILE RPG) is not usually that difficult. The hard part of converting RPG II applications is:

    A) Converting the program-described files to external descriptions and
    B) Converting the OCL to CL

    If we knew why you want to do this we would be able to offer better suggestions on the approach.

    Comment


    • #3
      Is it necessary to convert it?
      Even if you convert the RPG II code to RPG IV you still have what appears to be a RPG II code with RPG cycle, indicators etc.
      Analyse what it does and program it from scratch.

      You could call the old OCL and RPG II via STRS36PRC
      30 years ago we moved from S/36 to AS/400 and called the old OCL procedures from CL programs.
      Thus we kept the system running and could convert the system at ease.

      Comment


      • #4
        Originally posted by pnrperera View Post

        Also. please let me know where to find the H, F, I, E, C and O forms for RPG III environment.


        I saw some on Ebay recently

        Comment


        • #5
          H, F, I, E, C and O forms can be found in the RPG Reference manual

          Comment


          • #6
            The 1980's were such an influential decade.

            Comment


            • #7
              Good ol' Sys 38

              Comment

              Working...
              X