Access direct segments only.



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

Access direct segments only.

Postby rashmifernando » Mon Mar 01, 2010 10:02 pm

Hi, I have 5 segments.A is the route,B C & D are the direct dependents of A. B has one child E. So how could I access only A,B,C and D without retrieving E? Please help.
rashmifernando
 
Posts: 1
Joined: Mon Mar 01, 2010 9:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Access direct segments only.

Postby guptadevina » Mon Apr 12, 2010 3:59 pm

Hi Rashmi,

You can put your DLI call in a loop with until segment-level = 3 condition.

NOTE : segment-level is a parameter in your PCB which you define in linkage section.

Thanks,
Devina
guptadevina
 
Posts: 1
Joined: Mon Apr 12, 2010 3:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Access direct segments only.

Postby dhs » Thu Oct 14, 2010 11:47 pm

Use a pcb without e, IMS won't give you e so you save a little time and a few calls
dhs
 
Posts: 9
Joined: Thu Oct 14, 2010 10:43 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post