|
I've got a couple of service program procedures that I also need to be able to call from an OPM program. So, I need to add a program front end to both procedures. My first thought was a CLLE program that used the CALLPRC command. However, CRTBNDCL doesn't allow you to specify a BNDDIR to use. So, I seem to have two choices 1) CLLE module, then use CRTPGM 2) RPGLE bound program. I'm using ACMS so option 1 requires two objects to be defined, a *MODULE and a *PGM. Whereas option 2 only requires the *PGM object. Seems kind of wasteful to have an RPG program that only has two lines, CALLP and EVAL *INLR=*ON. I had wanted to have the procedures and the program have the same name, certainly don't think I could do this in RPGLE, don't know if it would even work in CLLE. How do you all handle this? Thanks, Charles
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.