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

Explain OBTAIN CALC USERREC ALLOW ('0326') in IDMS


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

New User


Joined: 30 Oct 2006
Posts: 7

PostPosted: Thu Jan 04, 2007 5:40 pm
Reply with quote

Can anyone explain the command
OBTAIN CALC USERREC ALLOW ('0326') in ADSO/IDMS
Back to top
View user's profile Send private message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Tue Jan 09, 2007 12:25 pm
Reply with quote

That means
if the particular record is not found in database and u have statement like
PERFORM IDMS-STATUS then the program will not abend with 0326'.
If anything otherthan record not found occurs like dead lock etc then the program abends.

But if u dont code ALLOW('0326')
and use PERFOM IDMS-STATUS then the program will abend when the record is not found or whenever the ERROR-STATUS is not = 0.....

Hope i am clear to u.
Back to top
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Wed Jan 31, 2007 9:07 pm
Reply with quote

Hi, if the record not found in the Data base, it has to execute, its doesnt have to Abend, Am I right?

Insted of this, you can write a like this also right...

OBTAIN CALC USERREC
if DB-REC-NOT-FOUND
CONTINUE.
Back to top
View user's profile Send private message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Thu Feb 01, 2007 1:25 pm
Reply with quote

Ya we can code in the way also....
Because we just want to skip when the record is not found in the database...We can just have a display statement stating that particular record is not
found...









Thanks
Rupa....
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 DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts IDMS record copybook IDMS/ADSO 3
No new posts Can records in IMS/DB be related usin... IMS DB/DC 2
No new posts Need to obtain VTOC information via R... CLIST & REXX 10
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... IDMS/ADSO 2
Search our Forums:

Back to Top