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

SQL CODE: -311


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
simha_it

New User


Joined: 05 May 2005
Posts: 30

PostPosted: Mon May 31, 2010 12:47 pm
Reply with quote

Hi,

When I was opening a cursor, I am getting SQL CODE -311. One interesting thing here is, when I am looking into the SPOOL SQLCA is not expandable and not even replaced the DCLGEN with the COBOL call. Does it mean that, pre-compilation is not done. But I didn't get any error for SQL COde (as undefined field name).

I have done the Bind manually.

Could any one plz suggest..
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: Mon May 31, 2010 1:05 pm
Reply with quote

Hello,

Suggest you rerun the compile/link/bind using the standard jcl for your system. You should use only the standard processes.

If you believe it is allright to deviate from the standard, suggest you talk with the dba for resolution.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top