View previous topic :: View next topic
|
Author |
Message |
ektaag
New User
Joined: 21 Mar 2007 Posts: 14 Location: bangalore
|
|
|
|
I have a path call for three segments seg A, B and C.
I have given D command code for SSA A and B . everything is fine. But for one record i have got status code GE . How will i make out that which segment was not present among the three ?
Let's assume B is not present would i get any data in B's array ?? or in A or C's array ??
here A is root . B is A's child and C is B's child.
Please let me know the answesrs.
Thanks,
Ekta |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Your PCB is a wonderful thing - it tells you a lot of information. Take a look at segment-level within your PCB. If it is 1 after your call, then your call brought back only the root A - if it is 2, then you got the root and segment B - if it is 3, you got A, B and C. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Another thing - it is difficult to grasp that IMS is not DB2 if you learned DB2 BEFORE you are learning IMS. IMS is NOT a table - it is NOT an array. If you have not retrieved a parent segment - you will never-ever know anything about any of it's subordinate segments. It is a heirarchy. If you delete a parent segment - you will automatically delete ALL of it's child segments - even if they number in the hundreds. A child segment cannot and will not exist without it's parent - it is a dependency. |
|
Back to top |
|
|
|