Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us