Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1243
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us