View previous topic :: View next topic
|
Author |
Message |
prabhu118 Currently Banned New User
Joined: 11 Feb 2008 Posts: 14 Location: Chennai
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
prabhu118 Currently Banned New User
Joined: 11 Feb 2008 Posts: 14 Location: Chennai
|
|
|
|
thanks its working...
can it be done using icetool???? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
can it be done using icetool???? |
Have you
a) Read the ICETOOL documentation
b) Tried it yourself using ICETOOL |
|
Back to top |
|
|
|