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
 

 

How to generate a GDG file with the code

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

New User


Joined: 26 Jun 2008
Posts: 2
Location: bnglore

PostPosted: Fri Jun 27, 2008 7:13 pm    Post subject: How to generate a GDG file with the code
Reply with quote

HI,

Can anyone tell me how to generate a GDG file with the code
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Fri Jun 27, 2008 8:24 pm    Post subject: Reply to: Creating a GDG
Reply with quote

please explain better...
use IDCAMS to create the gdg base
and a DD with a(+1) to crate a new generation

if You cannot do it,
please explain why and what are the requirements

or if I misunderstood Your wording ( ... code ... )
just search the forum for samples
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Jun 27, 2008 8:25 pm    Post subject: Reply to: Creating a GDG
Reply with quote

Has the GDG base already been created?

If so, read 3.10 Chapter 29. Processing Generation Data Groups in the z/OS V1R7.0 DFSMS Using Data Sets manual.
Back to top
View user's profile Send private message
Gousiya Mulla

New User


Joined: 02 Jun 2008
Posts: 87
Location: Bangalore

PostPosted: Tue Jul 01, 2008 7:55 pm    Post subject: Can anyone tell me how to generate a GDG file with the code
Reply with quote

Quote:
Can anyone tell me how to generate a GDG file with the code


Hi ,

Find the below code to generate BASE GDG .
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE -
GDG (NAME(File name) -
LIMIT (30) NOEMPTY SCRATCH)
/*


Then use a DD statement with +1 to create new generations .
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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


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