|
> From: Scott Mildenberger > > Exactly, this is how my dynamic calls look because I do > prototype them with EXTPGM. I actually use the prototype in the > program itself by using conditional compilation directives. > Then if you want to dynamic call a program using prototype you > just do the following to get the prototype: > > /define PROTOTYPE_ONLY > /copy qrpglesrc,frselcomp > /copy qrpglesrc,frselmfg > /copy qrpglesrc,frselwork > /copy qrpglesrc,frwrkexcl > /copy qrpglesrc,frwrkmodl > /copy qrpglesrc,frwrksegs > /undefine PROTOTYPE_ONLY Shazzam! I have to learn this little technique. What does the corresponding IFDEF look like in the copybook, Scott? Joe
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.