IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How can i create a model dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
KUMAR GANGAVARAPU

New User


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

PostPosted: Mon Jun 30, 2008 10:17 am
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
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jun 30, 2008 10:50 am
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: 8797
Location: Welsh Wales

PostPosted: Mon Jun 30, 2008 2:02 pm
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: 52
Location: chennai

PostPosted: Tue Jul 01, 2008 2:50 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top