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

What happens if SQLCA is not included


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

New User


Joined: 07 Jul 2005
Posts: 27

PostPosted: Tue Feb 28, 2006 2:51 pm
Reply with quote

Hi,

Please let me know what happens if we don't include SQLCA in the Cobol-DB2 program.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 28, 2006 3:33 pm
Reply with quote

The you can't use the variables defined in this area, like SQL-CODE.

O.
Back to top
View user's profile Send private message
ralph_v

New User


Joined: 07 Jul 2005
Posts: 27

PostPosted: Tue Feb 28, 2006 4:52 pm
Reply with quote

Thanks O,

Will we get any abends for not including SQLCA
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Feb 28, 2006 5:35 pm
Reply with quote

If SQLCA is not included then I think u will get an abend due to use of DB2 in ur COBOL pgm without including SQLCA
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 28, 2006 5:38 pm
Reply with quote

As far as I know - You'll get errors from the DB2 precompiler, as it is using SQLCA as a parameter to DSNHADDR.

O.
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 I need help with SQLCA DB2 8
No new posts Confusion regarding length of SQLCA v... DB2 4
No new posts Access SQLCA fields inside a stored p... DB2 6
No new posts OUTREC RDW NOT INCLUDED SYNCSORT 10
No new posts Condition to be included in Spilt1r JCL & VSAM 12
Search our Forums:

Back to Top