Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Saving JCL Code of a job using batch SDSF in REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
vsrinivas81

New User


Joined: 05 Nov 2007
Posts: 1
Location: bangalore

PostPosted: Thu Dec 27, 2007 7:59 pm    Post subject: Saving JCL Code of a job using batch SDSF in REXX
Reply with quote

Hi All,

I have a requirement like following..

I need to find a job on mainframe and save the JCL in to a PS or Member (SJ option in SDSF). I was able to locate the job using SDSF in REXX.
But not able to save the exact JCL.Please help me doing this.

--Srinivas
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Dec 27, 2007 8:26 pm    Post subject: Reply to: Saving JCL Code of a job using batch SDSF in REXX
Reply with quote

Post the code that you have so far, indicating where you think the problem may be. Hopefully someone familiar with SDSF will know what needs to be done. Out of curiosity, though, isn't this process documented in an SDSF user's manual somewhere?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Dec 28, 2007 2:35 pm    Post subject:
Reply with quote

From the SDSF / SJ screen I usually use

CREATE (or REPLACE) 'pds.name(member)' and C99999 on the first line to get what I want.

Never tried it in batch though, so that's a little something to look at next year icon_eek.gif
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts SDSF and SAF security danik56 TSO/ISPF 3 Wed Mar 15, 2017 12:51 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us