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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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