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

How to get the Generations of a GDG between a range


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sekhar redy

New User


Joined: 22 Aug 2008
Posts: 14
Location: Bangalore

PostPosted: Mon Dec 15, 2008 12:38 pm
Reply with quote

Hi,

Can we get all the GDG generations present in a range.
For example, if i want to search a string in the GDG, between the generations 100 and 200, is there any way, that i can use a JCL to search the generations between 100 and 200, without specifying all the generations from 100 to 200?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 15, 2008 2:55 pm
Reply with quote

So how will your program / utility know that you only want between 100 & 200 unless you tell it so ?
Back to top
View user's profile Send private message
sekhar redy

New User


Joined: 22 Aug 2008
Posts: 14
Location: Bangalore

PostPosted: Mon Dec 15, 2008 3:44 pm
Reply with quote

Hi Expat,

In the JCL, i want to specify the end limits, I mean the generations A.B.C.G0100V00 and A.B.C.G0200V00. Is there any utility, which automatically considers all the generations present between these two generations?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 15, 2008 3:54 pm
Reply with quote

Not that I know of. This sounds a specific task that would require a user written program or REXX.

DFSORT should do it also.
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 To get the count of rows for every 1 ... DB2 3
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
No new posts Particular data lies between a range ... DFSORT/ICETOOL 6
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
Search our Forums:

Back to Top