<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.
This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact