View previous topic :: View next topic
|
Author |
Message |
KUMAR GANGAVARAPU
New User
Joined: 09 May 2007 Posts: 2 Location: SALTLAKE CITY
|
|
|
|
Hi,
I want to create prod loadlib by demanding a job, how can i create a model dataset by taking existing prod libraries as templates |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I want to create prod loadlib by demanding a job |
Please clarify what this means. . . "Demanding a job" relates to scheduling software?
Quote: |
how can i create a model dataset by taking existing prod libraries as templates |
If you use tso/ispf 3.2, leave the action blank and provide the "old" dataset name, you can "lock on" to the attributes of the existing dataset. If you then change the action to "add" and key in the "new" dataset name, the allocation screen will be initialized with the values from the original dataset. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Read the JCL manual and look at the LIKE parameter |
|
Back to top |
|
|
Selva-kumar
New User
Joined: 01 Mar 2007 Posts: 52 Location: chennai
|
|
|
|
Hi Kumar,
Hope this may help you..
//DD01 DD DSN=File1,
// DISP=SHR
//DD01O DD DSN=File2
// DISP=(NEW,CATLG,DELETE),
// DCB=*.DD01
or you can use
//DD01 DD DSN=File1,
// DISP=SHR
//DD01O DD DSN=File2
// DISP=(NEW,CATLG,DELETE),
// LIKE=File1 |
|
Back to top |
|
|
|