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

how can u know the gdg without version number&generation


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
babujangam

New User


Joined: 14 Dec 2005
Posts: 8

PostPosted: Fri Dec 16, 2005 3:22 pm
Reply with quote

Hi,

Anyone can help me. How can u find out the gdg with out mention the
version number&generation number?
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Fri Dec 16, 2005 4:17 pm
Reply with quote

Hi,

Quote:
How can u find out the gdg with out mention the version number&generation number?


I believe it is not possible.

Please elaborate ur problem

Regards
Rupesh
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Dec 16, 2005 5:02 pm
Reply with quote

I didnt get the question here...

Regards,

Priyesh.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Dec 16, 2005 5:25 pm
Reply with quote

Hi frnd,

Quote:
Anyone can help me. How can u find out the gdg with out mention the
version number&generation number?


Can v know exactly what is ur requirement?????? any why u need that???
Back to top
View user's profile Send private message
muffirulz

New User


Joined: 14 Sep 2005
Posts: 74
Location: Atlanta, (USA)

PostPosted: Fri Dec 16, 2005 9:55 pm
Reply with quote

hi babu,

well if you dont know the gdg number...

lets say you wanna access the most latest one so it will be

dd dsn=my.file.gdg(0)

where (0) represents the current version and if you wanna access the previous ones then give like this

dd dsn=my.file.gdg(-1)
dd dsn=my.file.gdg(-2)


regards,
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
Search our Forums:

Back to Top