Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 & VSAM
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    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

dick scherrer

Site Director


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

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: 8593
Location: Back in jolly old England

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: 52
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us