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

I have a path call for three segments seg A, Band C.


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

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Oct 06, 2009 11:44 am
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Tue Oct 06, 2009 4:28 pm
Reply with quote

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
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Tue Oct 06, 2009 4:46 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts ADDRESS TSO CALL to invoke a module TSO/ISPF 7
No new posts BPXBATCH SFTP to remote path having s... All Other Mainframe Topics 6
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts SET PATH in View DDL DB2 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:


Back to Top