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

To define multiple GDG's


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
creddy

New User


Joined: 02 Mar 2006
Posts: 2

PostPosted: Mon May 15, 2006 11:13 am
Reply with quote

I need to define the multiple GDG's using IDCAMS
can anyone help me.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Mon May 15, 2006 11:39 am
Reply with quote

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
View user's profile Send private message
creddy

New User


Joined: 02 Mar 2006
Posts: 2

PostPosted: Mon May 15, 2006 12:13 pm
Reply with quote

Rupesh can u send the code ..

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

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon May 15, 2006 12:36 pm
Reply with quote

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
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 DTL - how to define key with stacked ... TSO/ISPF 3
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top