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

defining multiple GDGs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Mar 03, 2008 1:11 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top