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
 
Utility to give the information of the GDG files

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

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Thu Aug 28, 2008 7:43 pm    Post subject: Utility to give the information of the GDG files
Reply with quote

Hi all,

is there any utility to give the information of the GDG files? should give which generation has data and which does not have.

i used LISTCAT but this utility did not give me the information i wanted. if i have 5 generation i want to know in which generation have data and which does not have data.

thanks,
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8631
Location: Back in jolly old England

PostPosted: Thu Aug 28, 2008 7:46 pm    Post subject:
Reply with quote

No, LISTCAT will not tell you which files have data.

You need to test each file individually to see if the file is populated.
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Thu Aug 28, 2008 7:54 pm    Post subject:
Reply with quote

individually yes i know that!

but like we use 3.4 option and when we give the base name to the right it will show tracks% .

if tracks% is 0 then dataset is empty
if tracks% is100 then it has some data...

so i want this information by a utility (not individual checking).

thanks,[/quote]
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8214
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 28, 2008 8:06 pm    Post subject:
Reply with quote

Arvind, what you're looking at through ISPF 3.4 option is individual dataset usage data; you can replicate this in batch via the DCOLLECT command in IDCAMS.
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Thu Aug 28, 2008 8:33 pm    Post subject:
Reply with quote

can you give me the syntax for getting info of all the generation for GDG base. i got one but i want correct syntax (because i did not used this earlier. pls).

Code:

 //STAP0015 EXEC PROC=IDCAMS
 //SYSUDUMP DD SYSOUT=*
 //DCOLOUT DD DSN=VINF0PRD.BLVB04.B8D300.DCOLLECT,DISP=OLD
 //SYSIN DD *
 DCOLLECT OUTFILE(DCOLOUT) VOLUMES(*) NODATAINFO
 /*


Please help me to get the correct syntax.
thanks,
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8214
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 28, 2008 9:02 pm    Post subject:
Reply with quote

From the manual:
Quote:
NODATAINFO
says that no data set information records are generated or written to the output data set. Use this parameter if you want only volume information generated for the given volumes or storage groups.

Abbreviation: NOD
Try changing this to NOVOLUMEINFO since you are specifically wanting data set information.
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Thu Aug 28, 2008 9:04 pm    Post subject:
Reply with quote

ok and how or where do i give GDG base name in that syntax..
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8214
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 28, 2008 9:12 pm    Post subject:
Reply with quote

You don't; you have to look in the output file for the GDG files one by one to get the space usage. DCOLLECT works on volumes or storage groups but then you have to do some filtering based on what you're looking for.
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 Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts Utility for search operation Gopalakrishna551 TSO/ISPF 11 Wed Jan 03, 2018 11:07 am
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts JCL INFORMATION - Need to know what t... gauravd01 JCL & VSAM 8 Wed Nov 29, 2017 12:54 pm

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