IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can I access the child segment without the root segment key


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nbcbala

New User


Joined: 14 Aug 2005
Posts: 1
Location: bangalore

PostPosted: Sun Aug 14, 2005 3:04 pm
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
Karthikt

New User


Joined: 15 Aug 2005
Posts: 51

PostPosted: Mon Aug 15, 2005 11:32 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts access the last host command CLIST & REXX 2
No new posts CICS Access to RACF CICS 2
No new posts Access library name in REXX CLIST & REXX 6
Search our Forums:

Back to Top