Checking for multiple segments in IMS



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Checking for multiple segments in IMS

Postby rushihere » Thu Dec 20, 2012 7:48 pm

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??
rushihere
 
Posts: 3
Joined: Thu Dec 20, 2012 7:41 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Checking for multiple segments in IMS

Postby c62ap90 » Thu Dec 20, 2012 10:09 pm

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'
c62ap90
 
Posts: 125
Joined: Thu Oct 11, 2012 10:24 pm
Has thanked: 1 time
Been thanked: 7 times

Re: Checking for multiple segments in IMS

Postby rushihere » Fri Dec 21, 2012 11:42 am

Thank you C62ap90... will try this.
rushihere
 
Posts: 3
Joined: Thu Dec 20, 2012 7:41 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Checking for multiple segments in IMS

Postby rushihere » Fri Dec 21, 2012 4:17 pm

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
rushihere
 
Posts: 3
Joined: Thu Dec 20, 2012 7:41 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Checking for multiple segments in IMS

Postby enrico-sorichetti » Fri Dec 21, 2012 4:44 pm

please do not post links which open zillions of other widows
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post