Posted: Wed Sep 28, 2005 10:07 am Post subject: PL/I ,how to submit a jcl from a pl/i program?
1)how to submit a jcl from a pl/i program?
2)how to pass a return code from pl/i program to jcl?
3.)how to pass more than one parameter to pli program from jcl.,i.e passing parameter using PARM,not using sysin.
in pli i coded in this way, but it is not working for two parameters
Posted: Thu Sep 29, 2005 10:17 am Post subject: got the answer for submiting jcl from pli pgm!
finally,the help from this forum and of my own,i can able to finish the PL/I program to pass jcl.
there is one thing which is not mentioned in this forum,these are things you should note when submitting the jcl from pli pgm
in pli pgm :
dcl OUTFILE file output env(f recsize(80)) ---should be mentioned
and write all jcl to the structure of length 80.
and in runjcl:instead of sysout give the output file name!
//step1 exec pgm=plipgm
//steplib dd dsn=pds of loadmodule
//sysprint dd sysout=a
//outfile dd sysout=(a,intrdr)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum