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: 8685
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 What will happen if we dont code STOP... Poha Eater COBOL Programming 4 Mon Jun 04, 2018 5:27 pm
No new posts JCL to set Return code when Time Out ... vinu78 JCL & VSAM 6 Wed May 30, 2018 11:27 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts RESP2 code -502 pshongal CICS 6 Mon May 28, 2018 10:58 am
No new posts Code Coverage and static analysis too... Aditya.Srivastava PL/I & Assembler 2 Fri May 25, 2018 12:48 pm

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