Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To define multiple GDG's

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: To define multiple GDG's
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: 464

PostPosted: Mon May 15, 2006 11:39 am    Post subject: Re: To define multiple GDG's
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    Post subject: i checked in forum but not found rupesh
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us