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

What the problem is with -124 SQLCODE


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jatin saraf

New User


Joined: 30 Mar 2007
Posts: 22
Location: United States of america

PostPosted: Wed Jul 11, 2007 9:53 pm
Reply with quote

Any idea on what the problem is with -124 SQLCODE??
Error Assist does not have any explanation for this.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jul 11, 2007 9:58 pm
Reply with quote

Hello,

Please post your code that caused the -124 sqlcode.
Back to top
View user's profile Send private message
Jatin saraf

New User


Joined: 30 Mar 2007
Posts: 22
Location: United States of america

PostPosted: Wed Jul 11, 2007 10:05 pm
Reply with quote

The error is coming while opening the cursor:-
EXEC SQL
OPEN WDC_STR
END-EXEC.

The cursor is defined as:-

EXEC SQL
DECLARE WDC_STR CURSOR FOR
SELECT DISTINCT NUM_STR
FROM PROD.WHS_LOAD_GROUP
WHERE NUM_STR = 01973
AND NUM_WH = 9995
ORDER BY NUM_STR
END-EXEC.
The table is a Datacom table.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jul 11, 2007 11:05 pm
Reply with quote

Hello,

I will move this to the CA Products section of the forum. Datacom is a CA product.

Do you have the Datacom manuals? If so, the info should be in the Datacom documentation. If you don't have the documentation and your organization is licensed to use Datacom, the documentation is available for free from teh CA support site.

You might also ask yuour Datacom DBA about the -124 and it there is a local copy of the documentation.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top