|
View previous topic :: View next topic
|
| Author |
Message |
vijayramkumar.d
New User
Joined: 26 Mar 2007 Posts: 2 Location: TN
|
|
|
|
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 |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can use the CREATE command.
O. |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I'm thinking a combination of CUT, EDIT, and PASTE
or
a combination of CREATE and COPY |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
 |
vijayramkumar.d
New User
Joined: 26 Mar 2007 Posts: 2 Location: TN
|
|
|
|
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 |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Change your pds name  |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
If you want the member to be create in the same PDS, you can provide the member name only.
O. |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
 |
mmwife
Super Moderator

Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
 |
|
|