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
 

 

What happens if SQLCA is not included

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: What happens if SQLCA is not included
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: 2360
Location: Israel

PostPosted: Tue Feb 28, 2006 3:33 pm    Post subject:
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    Post subject: Re: What happens if SQLCA is not included
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    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Feb 28, 2006 5:38 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts OUTREC RDW NOT INCLUDED krsenthil85 SYNCSORT 10 Fri May 06, 2016 3:22 am
No new posts Condition to be included in Spilt1r Anitha Sekar JCL & VSAM 12 Tue Jul 02, 2013 12:44 pm
No new posts DB2 error "SQLCA" WAS NOT D... Kalyan Padigala ABENDS & Debugging 6 Wed Mar 14, 2012 9:15 pm
No new posts SORTOUT OUTREC: RDW not included expat JCL & VSAM 2 Fri Aug 20, 2010 2:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us