Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us