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

to represent all generations of a GDG?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
celia

New User


Joined: 18 Nov 2005
Posts: 2

PostPosted: Wed Jun 14, 2006 3:19 pm
Reply with quote

How to represent all generations of a GDG in a program?? Should I use loop or just give the base name???
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Wed Jun 14, 2006 6:20 pm
Reply with quote

If u wan to represent all the GDG versions in JCl?

//PGM1 EXEC PBM=PGM1
//DSNIN DD DSN=YOUR.GDG.BASE
//DSNOUT DD DSN=YOUR.OUTPUT.FILE

HERE THE PGM TAKES ALL THE GDG VERSIONS AS INPUT TO THE PGM.

U DON'T NEED TO WRITE A LOOP FOR THAT.JUST MENTION THE BASE NAME.

~vAMSI
Back to top
View user's profile Send private message
celia

New User


Joined: 18 Nov 2005
Posts: 2

PostPosted: Thu Jun 15, 2006 10:01 am
Reply with quote

Thank u. I'll try lik tat.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
No new posts Compare each GDG Generations to other... JCL & VSAM 13
No new posts Editing "member generations"... TSO/ISPF 1
No new posts Read all GDG generations, execept las... JCL & VSAM 5
No new posts Create dynamic gdg generations based ... DFSORT/ICETOOL 12
Search our Forums:

Back to Top