View previous topic :: View next topic
|
Author |
Message |
venkat1111_a1
New User
Joined: 14 Feb 2006 Posts: 8
|
|
|
|
hai
how can i create a GDG base& generations. |
|
Back to top |
|
|
Hanfur
Active User
Joined: 21 Jun 2006 Posts: 104
|
|
|
|
Hi,
Either you can go with File master or File -Aid Utlities which would invoke
IDCAMS in batch or could directly code the IDCAMS in JCL as the pgm for creating the GDG base.
-Han. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The IDCAMS command is 'DEF GDG'.
O. |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
Here are some standard JCL for defining, modifying, or deleting GDGs.
The 1st control card will delete a GDG.
The 2nd control card will define a GDG.
The 3rd control card will modify an existing GDG for a different number of versions.
Code: |
//DEFINE EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEL 'HLQ.DATA.SET.NAME' GDG
DEF GDG (NAME(HLQ.DATA.SET.NAME) LIMIT(4) SCRATCH)
ALTER 'HLQ.DATA.SET.NAME' LIMIT(5)
/*
|
|
|
Back to top |
|
|
|