Calling programs information in RPG

280 pts.
Tags:
AS/400
AS/400 commands
RPG Program
I have RPG program which consists around 7,000 lines. Is there any way to see the calling programs from the main program. One way is to manually searching the calling program name in main program. But it also taking so much time to know. So is there any way or command to get the all calling program names form a main program?

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: 5  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
  • CharlieBrowne
    Change management software does this for you. Such as: ABSTRASCT, ALDON, HAWKEYE PATHFINDER, just to name a few.
    41,370 pointsBadges:
    report
  • philpl1jb
    I'm having a bit of confusion reading your request. If you need to find what programs are called by a single program. 1. Try DSPPGMREF 2. Search the code for ' CALL '
    49,730 pointsBadges:
    report
  • TomLiotta
    Are you needing to know "calling programs" or "called programs"? When do you need to know? Do you need to know when the program is running or are you simply analyzing the application? . Your question needs more explanation. . Tom
    125,585 pointsBadges:
    report
  • sivakesava
    main concern is, when analyzing a program to know the called programs from a program.
    280 pointsBadges:
    report
  • TomLiotta
    In that case, to see "called" programs, the DSPPGMREF command is your first (and possibly best) option. There may be numerous items that won't be shown. Program CALLs are dynamic and aren't required to specify the name at compile time. In some cases, the name should not be specified in the op-code itself. . Those references will be shown but won't include a name. You'll need to look at source to check variables that will hold names. . Tom
    125,585 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