MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Listing the GDG generations which have Data

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
vini
Intermediate


Joined: 12 Jan 2004
Posts: 240
Topics: 48
Location: Maryland

PostPosted: Thu Jul 31, 2014 9:41 am    Post subject: Listing the GDG generations which have Data Reply with quote

Hi,

Anyone can let me know how to find which are the generations which have any data in them via executing a utility/JCL ?
Any other method using File Aid foreground is ok as well.

There are too many of these generations to manually sift through one by one so am looking for an easier way.

Thanks,
vini
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jul 31, 2014 9:49 am    Post subject: Reply with quote

vini,

1. Run LISTCAT to get GDG generation names
2. Build Dynamic JCL with each GDG printing/stopping after 1 record using IDCAMS or DFSORT.

check the following smart DFSORT tricks to get an idea of how it can be done

Report on GDG base limits
Copy GDGs created today
Copy GDG records in first in, first out order

http://www-01.ibm.com/support/docview.wss?uid=isg3T7000094
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group