Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how can i create GDG base

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
venkat1111_a1

New User


Joined: 14 Feb 2006
Posts: 8

PostPosted: Mon Jul 10, 2006 1:53 pm    Post subject: how can i create GDG base
Reply with quote

hai
how can i create a GDG base& generations.
Back to top
View user's profile Send private message

Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Mon Jul 10, 2006 4:14 pm    Post subject: Hi
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jul 11, 2006 1:04 am    Post subject:
Reply with quote

The IDCAMS command is 'DEF GDG'.

O.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Tue Jul 11, 2006 1:59 am    Post subject:
Reply with quote

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
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 Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts retrieving envelope information out o... VintageReceiver TSO/ISPF 6 Thu Aug 10, 2017 8:13 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us