Consider this:
Code: Select all
//SYSPRINT DD SYSOUT=*
Thanks for any help.
Code: Select all
//SYSPRINT DD SYSOUT=*
Code: Select all
// SET MYFILE='*'
Code: Select all
//MYPROCS JCLLIB ORDER=(your.PDS)
//*
//*
//* INCLUDE STATEMENT EXAMPLE - GET VALUES FROM JCLLIB
//*
//STEP01 EXEC PGM=IEFBR14
// INCLUDE MEMBER=member
//SYSPRINT DD SYSOUT=&MYFILE
Anuj Dhawan wrote:Hello,
I think if you can get your file in the form of a JCL INCLUDE statement, you can use it to set the "file" when your job is submitted.
File:JCL:Code: Select all
// SET MYFILE='*'
Hope this helps.Code: Select all
//MYPROCS JCLLIB ORDER=(your.PDS) //* //* //* INCLUDE STATEMENT EXAMPLE - GET VALUES FROM JCLLIB //* //STEP01 EXEC PGM=IEFBR14 // INCLUDE MEMBER=member //SYSPRINT DD SYSOUT=&MYFILE
You need to be a member in order to post a reply
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute