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
 

 

ADSO GET QUEUE error 4407

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

New User


Joined: 05 Dec 2013
Posts: 11
Location: india

PostPosted: Tue May 13, 2014 3:37 pm    Post subject: ADSO GET QUEUE error 4407
Reply with quote

We are facing the error 4407 on our ADSO code when 2 or more users accessing the same record.

The command was :

GET QUEUE ID <<Queue-name>>
KEEP
INTO <<WS-QUEUE-INFORMATION >>
TO <<WS-QUEUE-END >>
FIRST.

I have tried to introduce a delay of 1 sec when the queue was already locked.But still the problem persists.

MOVE 0 TO WS-COUNT

WHILE WS-COUNT < 5 AND ERROR-STATUS EQ '4407'
REPEAT.
MOVE 1 TO WAIT-TIME-DELAY.
ADD 1 TO WS-COUNT.
LINK PROGRAM 'WAIT' USING ( WAIT-RECORD ).
GET QUEUE ID <<Queue-name>>
KEEP
INTO <<WS-QUEUE-INFORMATION >>
TO <<WS-QUEUE-END >>
FIRST
END.

Please help on this.I am new for ADSO system.Please help me how to sort this 4407 errror.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue May 13, 2014 6:43 pm    Post subject:
Reply with quote

Hello,

Do NOT introduce a delay. . . Well managed systems will not allow the developers to do this. It long-term causes many more problems than it fixes.

You need to identify which bits of the code is causing the data to be unavailable and change the code so that the data is locked for Only the time it takes to update - not the entire transaction.
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 DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 2 Tue May 09, 2017 6:31 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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