View previous topic :: View next topic
|
Author |
Message |
creddy
New User
Joined: 02 Mar 2006 Posts: 2
|
|
|
|
I need to define the multiple GDG's using IDCAMS
can anyone help me. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
You can define GDG base using IDCAMS utility. U can define each GDG in a single STEP.
If you are looking for Sample JCL. Please Search the forum.
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
creddy
New User
Joined: 02 Mar 2006 Posts: 2
|
|
|
|
Rupesh can u send the code ..
Thanks,
chandra |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi creddy,
Here is code you need. Add steps for each gdg you need.
Code: |
000050 //TTYAGDG JOB 1,CLASS=I,MSGCLASS=0,USER=&SYSUID,NOTIFY=&SYSUID
000060 //STEP1 EXEC PGM=IDCAMS
000070 //SYSPRINT DD SYSOUT=*
000080 //SYSIN DD *
000090 DEFINE GDG ( -
000100 NAME(TTBB.TEST2.TEST3.TEST.GDG1) -
000200 LIMIT(30) -
000300 NOEMPTY -
000400 SCRATCH )
000500 /*
000060 //STEP2 EXEC PGM=IDCAMS
000070 //SYSPRINT DD SYSOUT=*
000080 //SYSIN DD *
000090 DEFINE GDG ( -
000100 NAME(TTBB.TEST2.TEST3.TEST.GDG2) -
000200 LIMIT(30) -
000300 NOEMPTY -
000400 SCRATCH )
000500 /*
000510
|
|
|
Back to top |
|
|
|