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
 

 

Issue in accessing Child record using DB-KEY

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
srinut123

New User


Joined: 11 Oct 2005
Posts: 62
Location: India

PostPosted: Mon Feb 25, 2013 1:01 pm    Post subject: Issue in accessing Child record using DB-KEY
Reply with quote

Hi

I got DB-KEY from source for a record called TCUS-RECORD.

I'm able to locate TCUS-RECORD in my program with DB-KEY but when I try to fetch its child using OBTAIN FIRST IN TCUS-TMEM (where TMEM-RECORD is child of TCUS), it gives me END OF SET though the TCUS-RECORD is available under TCUS-REC.

Please help me to check if I handled DB-KEY wrongly.

Regards
Sri
Back to top
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1028
Location: Oostende, Belgium

PostPosted: Mon Feb 25, 2013 5:08 pm    Post subject:
Reply with quote

Line 4242 of your code is wrong.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1825
Location: UK

PostPosted: Tue Feb 26, 2013 2:32 am    Post subject:
Reply with quote

Are you 100% sure that a child exists? If so, how are you sure? It has been years since I did IDMS and I do not have my notes available as I am on holiday so I cannot check to see if there is an 'empty set' message code as opposed to end-of-set message code. If there is no 'empty set' code then I would suggest that your set is empty. If it is empty and it should not be then you have a lot of investigation to do to fine the program that didn't populate the set properly.
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts Accessing first bit of PD value rajatbagga DFSORT/ICETOOL 11 Wed May 03, 2017 6:03 am


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