Page 1 of 1

Access given segments only.

Posted: Tue Sep 30, 2014 11:26 am
by Suman S
Hi,

FOr example assume that in an IMS DB I have 5 segments. SEG1 is the route, SEG2,SEG3 and SEG4 are the direct dependents of SEG1. SEG2 has a child SEG5. Now I want to access only SEG1, SEG2, SEG3, AND SEG4 without retrieving SEG5? How whould I do it, Please help.

Re: Access given segments only.

Posted: Tue Sep 30, 2014 12:23 pm
by Anuj Dhawan
The easiest way out is -- use a PCB without SEG5. As your Programs' PSB does not know about the SEG5 - you can not retrieve it and you get what you want.

Re: Access given segments only.

Posted: Wed Oct 01, 2014 11:13 am
by Suman S
Thanks for the suggestion Anuj, this has worked.

Re: Access given segments only.

Posted: Wed Oct 01, 2014 1:46 pm
by Anuj Dhawan
Glad to know that you've got it working.

Appreciate your feedback,