Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error SDSF commands execut by JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Tracy

New User


Joined: 17 Jun 2013
Posts: 2
Location: China

PostPosted: Fri Jun 21, 2013 12:56 pm    Post subject: Error SDSF commands execut by JCL
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Fri Jun 21, 2013 2:39 pm    Post subject:
Reply with quote

Ask your security people to give you the required authority
Back to top
View user's profile Send private message
Tracy

New User


Joined: 17 Jun 2013
Posts: 2
Location: China

PostPosted: Fri Jun 21, 2013 4:02 pm    Post subject:
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1541
Location: Chennai

PostPosted: Fri Jun 21, 2013 4:23 pm    Post subject:
Reply with quote

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.
http://www.ibmmainframes.com/viewtopic.php?t=54392&highlight=console
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts How to get the output from submit com... Joanna2016 CLIST & REXX 10 Tue Feb 06, 2018 7:26 am
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us