program updates

20 pts.
Tags:
RPG
Hi everyone! I need to modify an RPG program that is called from a menu (a *MENU object). If I modify this program, do I need to recompile my menu?

Answer Wiki

Thanks. We'll let you know when a new response is added.

I’ve never made my own *menu menus. But if you can call the RPG program from a command line (i.e. it can run outside the menu), then you shouldn’t have to worry about it.

The only problem i could think of would be if the menu is setting up the environment for, or the menu is passing parameters to the program and you are changing any of these in the program.

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
  • Bdfgsbw
    No, you do not need to recompile the *MENU. As long as you are not changing the format of the CALL to the RPG program (ie. adding/changing/deleting PARMs).
    0 pointsBadges:
    report
  • Msddcb
    You do not need to change the *menu if you are not changing the calling criteria. I hate using *menu's a great alternative we use is Admin/400. If you would like more info let me know and I will send you the url. Cheers, Don
    0 pointsBadges:
    report
  • MelissaG
    Hi! Thanks to everyone. msddcb, I'd like to receive the url in order to get more info about this.
    20 pointsBadges:
    report
  • McSick
    I am in agreement with all of the people above. No, you do not have to recompile unless you change the parameters. I don't use menu objects either. I create a display file that looks like a menu and use a CL program to send/receive the display file that contains a menu option field that the CL checks with IF statements to determine what to do next. Need an example, just let me know.
    50 pointsBadges:
    report
  • TomLiotta
    It won't matter if your program "changes" any parameters that come in from the menu since nothing can be returned to the menu anyway. However, if the program parameter list was part of the change to the program, then naturally the menu would have to be changed to match. Personally, every menu I create is a UIM menu. Much nicer than the alternatives and can be standardized easily to match system menus. Everybody automatically knows how to use them and what to expect. 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