ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

RPG36 file limit

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

  • RPG36 file limit

    I need to modify an RPG36 program which has 17 files. The DSPPGMREF output for the current program says it references 17 files, but when I compile I get error QRG2169, limit of 15 files exceeded. This is running on a 720 at v4.5 (yes, you read that right).

    Any and all help in getting this program compiled is appreciated.

  • #2
    Wow. I know you can't really say, but what company won't upgrade in the past 20 years?

    I thought we were slow to move up.

    Jim

    Comment


    • #3
      A solution would be to change the type of the source file from RPG36 to RPG in the PDM.
      Thus you haven't changed anything regarding ILE programming if there is a policy against this.

      The only change is that instead of using the RPG36 compiler you are using the good old OPM RPG compiler instead.
      And I think that you will not have the limit of 15 files there.

      You might need some changes in the source code but I don't remember any more what is needed.

      Please tell me what you find out. I'm curious.

      Regards
      Peder

      Comment


      • #4
        My bad.

        I added some fields to the I-specs but did not change the record length in the F-spec. Must have really confused the compile.

        Thanks for your responses.

        Comment

        Working...
        X