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
 
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: 4650
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: 8620
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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

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