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
 
Edit a JCL member and store the same in a different name

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
vijayramkumar.d

New User


Joined: 26 Mar 2007
Posts: 2
Location: TN

PostPosted: Mon Mar 26, 2007 5:56 pm    Post subject: Edit a JCL member and store the same in a different name
Reply with quote

Hi,

How to save a jcl member with another name when iam in it....

i have a scenario where my jcls differ from other with few lines and i need to save the jcl with another name whenever i have doen the changes...so i that at the end i shld have 5 jcl members inthe pds if my changes done is 5 times....

or

can u tell me how to save the jcl when i give SJ to the jobs in spool...
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Mar 26, 2007 6:02 pm    Post subject:
Reply with quote

You can use the CREATE command.

O.
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: Mon Mar 26, 2007 6:04 pm    Post subject: Re: Edit a JCL member and store the same in a different name
Reply with quote

I'm thinking a combination of CUT, EDIT, and PASTE

or

a combination of CREATE and COPY
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: Mon Mar 26, 2007 6:06 pm    Post subject:
Reply with quote

On the command line type either

CREATE 'your pds name (member)

or if the member already exists

REPLACE 'your pds name (member)

And then

C99999 //X48201J JOB 'JOB INFORMATION',
000002 // CLASS=1,
000003 // MSGCLASS=U,
000004 // NOTIFY=&SYSUID
000005 //*
000006 //DUMMYSTP EXEC PGM=IEFBR14

and then press enter
Back to top
View user's profile Send private message
vijayramkumar.d

New User


Joined: 26 Mar 2007
Posts: 2
Location: TN

PostPosted: Mon Mar 26, 2007 6:33 pm    Post subject:
Reply with quote

Hi,

hey i tried 'create my pds name' but my pds is long and could not fit in the command line..wat shld be done
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: Mon Mar 26, 2007 6:38 pm    Post subject:
Reply with quote

Change your pds name icon_biggrin.gif
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Mar 26, 2007 6:53 pm    Post subject:
Reply with quote

If you want the member to be create in the same PDS, you can provide the member name only.

O.
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: Mon Mar 26, 2007 7:06 pm    Post subject:
Reply with quote

Yeah,

ofer71 has the result from within the PDS,
my suggestion was from within SJ in SDSF.

You could always CREATE 'short ds name'
and then copy that file into your PDS.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Mar 27, 2007 6:20 am    Post subject:
Reply with quote

Hi Vijay,

If you're creating the newly named member to the same PDS as the orig, just enter "create newmem" on the cmd line. No need for the PDS name.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm

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