Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How can i create a model dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
KUMAR GANGAVARAPU

New User


Joined: 09 May 2007
Posts: 2
Location: SALTLAKE CITY

PostPosted: Mon Jun 30, 2008 10:17 am    Post subject: How can i create a model dataset
Reply with quote

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
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8642
Location: 221 B Baker St

PostPosted: Mon Jun 30, 2008 10:50 am    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3509
Location: Brussels once more ...

PostPosted: Mon Jun 30, 2008 2:02 pm    Post subject:
Reply with quote

Read the JCL manual and look at the LIKE parameter
Back to top
View user's profile Send private message
Selva-kumar

New User


Joined: 01 Mar 2007
Posts: 29
Location: chennai

PostPosted: Tue Jul 01, 2008 2:50 pm    Post subject: Reply to: How can i create a model dataset
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1