| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
ug123
Joined: 01 Mar 2007
Posts: 34
Location: Chennai
|
| Posted: Thu Aug 14, 2008 5:30 pm Post subject: Is there any possible way to retrieve all the child segments |
|
|
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 |
|
Sandy Zimmer
Joined: 13 Jun 2007
Posts: 438
Location: Wilmington, DE
|
| Posted: Thu Aug 14, 2008 5:42 pm Post subject: |
|
|
| No. |
|
| Back to top |
|
sambasivarao
Joined: 10 Jul 2006
Posts: 37
Location: Bangalore
|
| Posted: Fri Aug 15, 2008 7:47 pm Post subject: |
|
|
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 |
|
Sandy Zimmer
Joined: 13 Jun 2007
Posts: 438
Location: Wilmington, DE
|
| Posted: Fri Aug 15, 2008 8:07 pm Post subject: |
|
|
| No - you cannot do it with command codes. |
|
| Back to top |
|
dick scherrer
Joined: 23 Nov 2006
Posts: 8733
Location: 221 B Baker St
|
| Posted: Fri Aug 15, 2008 8:48 pm Post subject: |
|
|
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 |
|
Anuj D.
Joined: 22 Apr 2006
Posts: 2229
Location: Phoenix, AZ
|
| Posted: Mon Aug 18, 2008 11:36 am Post subject: |
|
|
| 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... :D |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|