Page 1 of 1

Checking for multiple segments in IMS

PostPosted: Thu Dec 20, 2012 7:48 pm
by rushihere
I am creating structural diagrams for a legacy system IMS DB. For one child segment I am not sure if it is allowed to occur multiple times under same parent segment or not. I could not see multiple occurances of it under one parent, but that is not satisfactory as I manually can not check the whole database to be sure about it and I am doubtful that there can be multiple segments present.
I know that there is some way to check it through DBD or IMS setup which I used some time back :) . Could anyone please let me know if we can check this in hirarchy structure??

Re: Checking for multiple segments in IMS

PostPosted: Thu Dec 20, 2012 10:09 pm
by c62ap90
Your IMS DBA would know of course. When I worked in another shop that had FileAid I did the following for what I think you are looking for...
- FILEAID DRAW IMS HIERARCHICAL GRAPH STRUCTURE                             
  -- FI, 1 {EXAMPLE FOR PGM01}, ENTER, H (HIERARCHICAL STRUCTURE OF THE DBD)
               REGION TYPE . . DLI        (DLI OR BMP)                     
          PSBLIB DATASET 1 . . 'SYS3.PROD.PSBLIB'                           
                 DATASET 2 . .                                             
                    MEMBER . . PGM01                                       
                                                                           
          DBDLIB DATASET 1 . . 'SYS3.PROD.DBDLIB'

Re: Checking for multiple segments in IMS

PostPosted: Fri Dec 21, 2012 11:42 am
by rushihere
Thank you C62ap90... will try this.

Re: Checking for multiple segments in IMS

PostPosted: Fri Dec 21, 2012 4:17 pm
by rushihere
With (BMC) utility to decode DBD or by some other methods we can get the DBD information for IMS segments. The 'PTR' parameter provided in each segment can explain the number of occurrences allowed for that segment. The value and meanings of this parameter can be found here

Link deleted

Re: Checking for multiple segments in IMS

PostPosted: Fri Dec 21, 2012 4:44 pm
by enrico-sorichetti
please do not post links which open zillions of other widows