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

How to generate a GDG file with the code


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jun 27, 2008 8:24 pm
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

Global Moderator


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

PostPosted: Fri Jun 27, 2008 8:25 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top