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
 

 

How to check if any of the GDG versions has data?

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

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Fri Jun 12, 2015 1:28 am    Post subject: How to check if any of the GDG versions has data?
Reply with quote

Hi All,

I used PRINTCHECK and gave GDG base name as parameter but it is checking only latest GDG version. My requirement is to check if data is present in any of the GDG versions.

Appreciate if any one can help on this.

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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Jun 12, 2015 3:23 am    Post subject: Reply to: How to check if any of the GDG versions has data?
Reply with quote

Quote:
PRINTCHECK

what is that ???
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri Jun 12, 2015 4:08 am    Post subject: Re: Reply to: How to check if any of the GDG versions has data?
Reply with quote

enrico-sorichetti wrote:
Quote:
PRINTCHECK

what is that ???

Perhaps some in-house utility.

Reddy-kun appears unaware that if the GDG base is referred to in the JCL without a relative or an absolute generation (not version) number, all generations (not versions) will be concatenated in (by default) LIFO order.
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: Fri Jun 12, 2015 5:13 am    Post subject: Reply to: How to check if any of the GDG versions has data?
Reply with quote

I use the SRCHFOR command in ISPF, or my own home-grown utility (using Syncsort) for large files that I can run in batch and specify a specific location.
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 move a long alphanumeric data ... lind sh COBOL Programming 3 Mon Dec 05, 2016 7:51 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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