Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: I have a path call for three segments seg A, Band C.
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us