View previous topic :: View next topic
|
Author |
Message |
shinderajan222 Warnings : 1 New User
Joined: 28 Aug 2008 Posts: 12 Location: PUNE
|
|
|
|
Hi ,
I have written following JCl to cature JCl log of JCL.
//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT MEDMALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
/*
//
Note:- MEDMALAB is jobname in PJS
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.
any reply will be appreciated. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you only have access to "your" jobs, you need to obtain additional permissions. . .
New/different tools won't help if security has you blocked. . . |
|
Back to top |
|
|
shinderajan222 Warnings : 1 New User
Joined: 28 Aug 2008 Posts: 12 Location: PUNE
|
|
|
|
Thanks for your reply Dick,William
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.
Rajan S. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
JOB MEDMALAB REJECTED - JOBNAME MUST BE YOUR USERID OR MUST START WITH YOUR YOUR USERID |
the message is clear, that is the way the OUTPUT command works...
investigate teh use of the REXX SDSF interface |
|
Back to top |
|
|
shinderajan222 Warnings : 1 New User
Joined: 28 Aug 2008 Posts: 12 Location: PUNE
|
|
|
|
Is there any other way to capture JCLLOG? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You just got an alternative ...
#repeat on
investigate the use of the REXX SDSF interface
#repeat off
search the forums for REXX SDSF
or google for REXX SDSF REDBOOK[s] IBM |
|
Back to top |
|
|
|