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
 
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: 658
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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