MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Accessing Child segment with Specified Critieria

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
ramu_mohan21
Beginner


Joined: 29 Jun 2004
Posts: 106
Topics: 41
Location: Bangalore, INDIA

PostPosted: Tue Oct 07, 2008 4:38 pm    Post subject: Accessing Child segment with Specified Critieria Reply with quote

Hi Board,

I have a small question. In our system there are 2 levels of database is present. Each parent occurrence having multiple child occurence. In one of the child occurence, one of the field having the value 'ABC'. 'ABC' would be present in only in one child occurrence.

My requirement is to read the parent segment occurrence and read the child occurrence which is having 'ABC' and combine the parent + child segment data and write a report. Like that I need to process the entire database.

Can you anybody suggest me to provide an efficient solution for this problem?
_________________
Best Regards,
----------------
Rammohan Pabba
Software Engineer
Back to top
View user's profile Send private message Send e-mail
rk_pulikonda
Beginner


Joined: 27 May 2003
Posts: 22
Topics: 2
Location: India

PostPosted: Tue Oct 07, 2008 9:51 pm    Post subject: Reply with quote

Give a search on path call (Command code D) in this forum.

Hope you will get answer...
_________________
Thanks
-Ram
Back to top
View user's profile Send private message
ramu_mohan21
Beginner


Joined: 29 Jun 2004
Posts: 106
Topics: 41
Location: Bangalore, INDIA

PostPosted: Wed Oct 08, 2008 3:23 am    Post subject: Reply with quote

Hi,

I have another question in the above processing. I don't have a key for parent segment. I need to process all the parent occurrences. But I have a key value i.e "ABC" for one of the child occurrence. Can I use GN call with Unqualified SSA for Parent and Qualified SSA for child using the command code "D" in the parent SSA by keeping sufficient IO-Area?
_________________
Best Regards,
----------------
Rammohan Pabba
Software Engineer
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group