Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Can I access the child segment without the root segment key

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
nbcbala

New User


Joined: 14 Aug 2005
Posts: 1
Location: bangalore

PostPosted: Sun Aug 14, 2005 3:04 pm    Post subject: Can I access the child segment without the root segment key
Reply with quote

Hi all,

I have a request where I have to 3 segments lets say
x
y
z
where the parent of y is x and the parent of z is x.
I have the key of x & z. but I dont have the key of y..can I access the segment z directly since I have the key of z.
Back to top
View user's profile Send private message
References
PostPosted: Sun Aug 14, 2005 3:04 pm    Post subject: Re: Can I access the child segment without the root segment key Reply with quote

Karthikt

Active User


Joined: 15 Aug 2005
Posts: 52

PostPosted: Mon Aug 15, 2005 11:32 am    Post subject:
Reply with quote

Hi,
You can fetch the segment Z without acessing the segment Y by the following way.

Establish parentage at X by GU call with key value of X moved to SSA
Then give GNP call with key value of Z moved to SSA.

Now you can retrieve the segment occurence information from the IO area.

Regards
Karthik
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1