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
 

 

defining multiple GDGs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
prabhu118
Currently Banned

New User


Joined: 11 Feb 2008
Posts: 14
Location: Chennai

PostPosted: Mon Mar 03, 2008 6:37 am    Post subject: defining multiple GDGs
Reply with quote

Hi...

Can any tell me way to define multiple GDGs in a single stretch.

Empty, scratch and limit option for all the GDGs are same.

Can it be done using IDCAMS or ICETOOL.

Thanks
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Mar 03, 2008 6:57 am    Post subject:
Reply with quote

Code:
//CREATE   EXEC PGM=IDCAMS                                             
//SYSOUT   DD  SYSOUT=*                                               
//SYSPRINT DD  SYSOUT=*                                               
//SYSIN    DD *                                                       
  DEF GDG (NAME(XXX.PROD.YYYY.FILEA) LIMIT(3) NEMP SCR)   
  DEF GDG (NAME(XXX.PROD.YYYY.FILEB) LIMIT(3) NEMP SCR)   
  DEF GDG (NAME(XXX.PROD.YYYY.FILEC) LIMIT(3) NEMP SCR)   
  DEF GDG (NAME(XXX.PROD.YYYY.FILED) LIMIT(3) NEMP SCR)   
/*



Just repeat the def gdg command as many times as needed.
Back to top
View user's profile Send private message
prabhu118
Currently Banned

New User


Joined: 11 Feb 2008
Posts: 14
Location: Chennai

PostPosted: Mon Mar 03, 2008 7:56 am    Post subject: Reply to: defining multiple GDGs
Reply with quote

thanks its working...
can it be done using icetool????
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 Mar 03, 2008 1:11 pm    Post subject:
Reply with quote

Quote:
can it be done using icetool????

Have you
a) Read the ICETOOL documentation
b) Tried it yourself using ICETOOL
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 create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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