View previous topic :: View next topic
|
Author |
Message |
Tracy
New User
Joined: 17 Jun 2013 Posts: 2 Location: China
|
|
|
|
Hi I have coded SDSF commands in JCL and executed ,the return code is 0.
but the command hasn't been issued .
//TSDSF EXEC PGM=SDSF
//ISFOUT DD SYSOUT=*
//ISFIN DD *
ST
/$P JQ,JM=SD10001R
/*
the sysout file is like below :
SDSF STATUS DISPLAY ALL CLASSES NOT AUTHORIZED FOR CMD
COMMAND INPUT ===> /$P JQ,JM=SD10001R SCROLL ===> PAGE
NP JOBNAME JobID Owner Prty Queue C Pos SAff ASys Status
YMS006RG JOB00821 A02 10 OUTPUT A HOLD
YMS006RG JOB00876 A02 10 OUTPUT A HOLD
YMS006 TSU01527 YMS006 1 PRINT 2919
Which means the first ST is executed , and the second SDSF command hasn't been executed.
Could someone tell me how to make ' /$P JQ,JM=SD10001R' run via JCL,please ?
Thank you very much |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Ask your security people to give you the required authority |
|
Back to top |
|
|
Tracy
New User
Joined: 17 Jun 2013 Posts: 2 Location: China
|
|
|
|
expat wrote: |
Ask your security people to give you the required authority |
but i can execut this command in LOG panel directly , is that the mater of access ? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Quote: |
but i can execut this command in LOG panel directly , is that the mater of access ? |
Yup, you need to contact your security team and get access to issue sdsf commands in batch.
I once had the same issue where I was able to issue commands from SDSF, but the same commands won't work from batch.
www.ibmmainframes.com/viewtopic.php?t=54392&highlight=console |
|
Back to top |
|
|
|