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

Culprit - how to find out the kind of retrieval


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Wed Apr 28, 2010 12:46 pm
Reply with quote

Hi,

We have one culprit job in our system which is accessing two idms records. I have code like below

INPUT 2500 DB(D) SS=SSCTEST
PATH01 RECORD1 RECORD2

0151*010 REC1-FIELD1 (RECORD1)
0151*020 REC1-FIELD2 (RECORD1)
0151*030 REC2-FIELD1 (RECORD2)
0151*040 REC2-FIELD2 (RECORD2)

We have two sets defined between above said two records, my question is what kind of retrieval the above code is doing? Is that a set sweep? If so which set it is sweeping ?( we have two sets and no set name is mentioned in culprit code).
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Thu May 27, 2010 11:16 am
Reply with quote

it is only retrieving only those 4 database variables from those two database records...its a simple retrieval like OLQ in IDMS
Back to top
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Thu May 27, 2010 1:19 pm
Reply with quote

Hello,

Please go through the question carefully before answering any posts. I've mentioned one word very clear and that is '2 records in 2 different sets'. Anyways I got the solution to this problem.
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Sat Jun 19, 2010 7:12 pm
Reply with quote

I have checked ur qns before replying..mentioning the issue theoritically wud not serve much purpose in many cases..if some one will see the code only can tell the answer..according to ur explained code its simple retrieval from two IDMS records(ofcourse of one set,otherwise u cannot mention more record names in culprit,only if they have parent child relation u can mention them at a time)..

Thanks,
Kcs
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top