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

Is there any possible way to retrieve all the child segments


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

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Thu Aug 14, 2008 5:30 pm
Reply with quote

Is there any possible way to retrieve all the child segments in single ims db call

The requirement is I have one root segment and 3 types of child segments under one root segment. Each child is having exactly 3 occurrences.
Normally if we want to retrieve all these occurrences we should use 10 db calls. Is there any possible way to reduce the calls.

Or can we have one db call to retrieve all the occurences of each child segment. Our ultimate aim is to reduce db calls.

Could anyone please let me know is this possible or not.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Aug 14, 2008 5:42 pm
Reply with quote

No.
Back to top
View user's profile Send private message
sambasivarao

New User


Joined: 10 Jul 2006
Posts: 47
Location: Bangalore

PostPosted: Fri Aug 15, 2008 7:47 pm
Reply with quote

Hi,

I think it is possible by using Command codes we can do.

The major pupose of Command codes is to reduce the no.of calls and improve the performance.

Thanks and Regards,
Sambasiva.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Aug 15, 2008 8:07 pm
Reply with quote

No - you cannot do it with command codes.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 15, 2008 8:48 pm
Reply with quote

Hello,

Quote:
The major pupose of Command codes is to reduce the no.of calls and improve the performance.
Footballs do not have feathers.

Like your statement, mine is also basically true though neither has anything to do with the original question. . .

Quote:
I think it is possible by using Command codes we can do.
If you want to post a reply such as this, you need to actually test the solution on your system and post the tested result here. Untested suggestions only add clutter and are often misleading to others who read the topic later.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 18, 2008 11:36 am
Reply with quote

dick scherrer wrote:
Quote:
The major pupose of Command codes is to reduce the no.of calls and improve the performance.
Footballs do not have feathers.
I'm loving it... icon_biggrin.gif
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 Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Retrieve IMS SubSystem Name IMS DB/DC 2
No new posts How to: PK does not exist in several ... DB2 6
No new posts retrieve volume records from decollec... DFSORT/ICETOOL 4
No new posts Unable to retrieve Datasets Names usi... CLIST & REXX 20
Search our Forums:

Back to Top