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
 

 

to write the names of gdgs in a flat file

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

New User


Joined: 26 Apr 2007
Posts: 49
Location: Delhi

PostPosted: Wed Sep 12, 2007 10:19 am    Post subject: to write the names of gdgs in a flat file
Reply with quote

Hi
say there are 2 files. Both the files are gdg versions jobs.

Now I have to write a Job C whose output, File C, must contain the names of those two gdg version(latest version). Can anyone help me as how to create File C in this.

Thanks in advance.
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Sep 12, 2007 12:02 pm    Post subject:
Reply with quote

Your post is not clearly understandable.

Are you trying to get the dataset name including gdg version number?
If so you can do listcat of all GDG version and select the last GDG version.
also you can get thru JFCB
Back to top
View user's profile Send private message
Mahua Mitra

New User


Joined: 26 Apr 2007
Posts: 49
Location: Delhi

PostPosted: Wed Sep 12, 2007 1:14 pm    Post subject:
Reply with quote

i want the names of files (gdg files) written in a file through a flat file.

Like the names of the gdg file will always changs as the version will change
Thanks
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Wed Sep 12, 2007 1:23 pm    Post subject:
Reply with quote

Mahua,

Quote:
i want the names of files (gdg files) written in a file through a flat file.

Not clear.

Quote:
Like the names of the gdg file will always changs as the version will change

I hope VERSION above is actually for GENERATION.
Back to top
View user's profile Send private message
Mahua Mitra

New User


Joined: 26 Apr 2007
Posts: 49
Location: Delhi

PostPosted: Wed Sep 12, 2007 2:24 pm    Post subject:
Reply with quote

exactly, they are generations...........i want the names of the latest generations to be written in a flat file
Back to top
View user's profile Send private message
Mahua Mitra

New User


Joined: 26 Apr 2007
Posts: 49
Location: Delhi

PostPosted: Wed Sep 12, 2007 4:56 pm    Post subject:
Reply with quote

can anyone please help me in this.

Thanks,
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: Wed Sep 12, 2007 5:03 pm    Post subject: Reply to: to write the names of gdgs in a flat file
Reply with quote

Devzee already provided the answer. Use LISTCAT or read the JFCB.
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 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 Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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