IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Saving JCL Code of a job using batch SDSF in REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Dec 27, 2007 8:26 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Dec 28, 2007 2:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top