|
<snip> Yes, you can. Put the qualified name in a variable and then call that. For example: D QualPgm s 21a Inz('MYLIB/MYPGM') C Call QualPgm </snip> A better way, always prototype your calls. D MyName... d pr ExtPgm('MYLIB/MYPGM') d Parm01... d 10a Const MyName(Parm); The ExtPgm can be qualified or not and you can call the program just like any other function, use constants and have parameters checked for validity of type and size. This is an IBM recommendation for call programs or anything external. Prototype it. Anyway, just a suggestion.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.