More than 50 files in RPG?

75 pts.
Tags:
AS 400
RPG
RPG Code
How can i declare more than 50 files in RPG/400 program?

Software/Hardware used:
AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    You don't. . RPG/400 has a limit of 50 declared files. Fortunately, you never need that many. If you want that many, you are doing something and should fix it. . Tom
    125,585 pointsBadges:
    report
  • ToddN2000
    If you need 50 + files in one program I'd like to know why. You should think about breaking in down into procedures to handle individual tasks. It also makes things easier to maintain if the code is modularized and kept small. No one likes to debug a 50K line program.
    8,500 pointsBadges:
    report
  • philpl1jb
    And if you convert this program to RPGLE you won't have a limti. But the foregoing advice is still good. Call a new program to do your new/modified task.
    49,570 pointsBadges:
    report
  • TomLiotta
    My comment should have concluded as "...you are doing something *wrong* and should fix it." -- Tom
    125,585 pointsBadges:
    report
  • csuoaananth
    This is already existing in RPGV3 program. they have declared 50 files in that program... now i want to change in that program for that i need to debug... so how can i re-compile it?
    75 pointsBadges:
    report
  • philpl1jb
    yes, it compiles like any other RPG program .. what issues are you experiencing?
    49,570 pointsBadges:
    report
  • AS1
    if don't need for 50 +files,first declare 50 file one pgm, another some file declare another pgm,so this two PGM use this CALL functions, pgm1(50)+pgm2(20)=pgm3(80)
    90 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following