But if I use same JCL for capturing log of a JCL which is scheduled thru PJS it is not running it is giving following message. I have scheduled JCB thru my ID only
READY
OUTPUT N48AALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
JOB N48AALAB REJECTED - JOBNAME MUST BE YOUR USERID OR MUST START WITH YOUR USER
READY
END
please suggest me something. we have genralised jobnames as that of member name.
Check out Lionel B. Dyck. he has a great little tool, SDFSEXT, a generalized SDSF batch tool to extract all or part of your sysout into a dataset that you could do whatever you want with.
I have all access because When I used same code for capturing JCLLOG for JCl which we submit manually it is giving reqd result.
//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT N48A27A(J058130) PRINT('N48A27.C5303.AUTO.CNTLJCLLOG)')
/*
//
Here n48a27A is job name
but for a job which is getting submitted thru PJS it is showing error.
//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT MEDMALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
/*
//
Here MEDMALAB is jobname for PJS note:- PJS job is scheduled using my ID only.
I am getting following messages in SYSTSPRT
READY
OUTPUT MEDMALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
JOB MEDMALAB REJECTED - JOBNAME MUST BE YOUR USERID OR MUST START WITH YOUR YOUR USERID
READY
END
Please suggest me if you have any idea. Thanks in advance.