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
 

 

SQLCODE = -508, ERROR: THE CURSOR IDENTIFIED IN THE UPDAT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
davidshaw

New User


Joined: 08 Aug 2006
Posts: 1

PostPosted: Wed Aug 30, 2006 4:34 pm    Post subject: SQLCODE = -508, ERROR: THE CURSOR IDENTIFIED IN THE UPDAT
Reply with quote

icon_rolleyes.gif CAN SOMEONE HELP ME HERE
SQLCODE = -508, ERROR: THE CURSOR IDENTIFIED IN THE UPDATE OR
STATEMENT IS NOT POSITIONED ON A ROW
SQLSTATE = 24504 SQLSTATE RETURN CODE
Back to top
View user's profile Send private message

Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Wed Aug 30, 2006 5:18 pm    Post subject:
Reply with quote

This means you are doing a FETCH cursorname on some table then
an UPDATE/DELETE WHERE CURRENT OF cursorname to update the same table.
Do you have other SQL commands between the FETCH and the UPDATE (a COMMIT for example) ?
Can you post some code ?
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 -> CICS 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 Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 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