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 get count of segments without reading all

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
chand123

New User


Joined: 01 Aug 2012
Posts: 2
Location: India

PostPosted: Fri Aug 03, 2012 2:36 am    Post subject: how to get count of segments without reading all
Reply with quote

Hi,

I am trying to find a way to get the count of segments under each root in a DB without reading all the segments thru GNP. Does anybody know how can we do this?

need to get the key for each root along with count of child segments under that
Back to top
View user's profile Send private message

chand123

New User


Joined: 01 Aug 2012
Posts: 2
Location: India

PostPosted: Fri Aug 03, 2012 5:20 pm    Post subject: Reply to: how to get count of segments without reading all
Reply with quote

Is there any DB unload utility or so? Can somebody please throw some light on this?

I did search and couldn't find any icon_sad.gif
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 650
Location: Whitby, ON, Canada

PostPosted: Fri Aug 03, 2012 6:25 pm    Post subject:
Reply with quote

If I recall correctly, segment counts are produced by the reorg utility. Ask your DBA. Unload should also provide counts, depending on which product you have available.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 03, 2012 6:41 pm    Post subject:
Reply with quote

1. By just COBOL as your only weapon, I doubt if there is a way round, GNP, GN is the way to go.

2. If you just want to know the total number of segments, get a copy of the 'analyse report' from your SysProgs. The analyser should be run by systems programmers on a regular basis.

3. This link talk about Segment Count Summary report but I've not worked with it, so you need to do a bit of labor.

4. And at another shop, with BMC utility one could get all segment counts. But that's not availble at this shop and I do not really recall what was it. In other words, if you've BMS utilities for IMS available at your shop, you may try your luck with them too.
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


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