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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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