DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 14th, 2006, 11:35 AM
OS2dude OS2dude is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 3 OS2dude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 4 sec
Reputation Power: 0
SQLCA shared between bound procedures?

I'm just now delving into the depths of embedded SQL. One thing I'd like to do is to put SQL error handling into a service program module. Are the contents of the SQLCA unique for each procedure/module? (RPGLE specifically - RPG's SQL pre-compiler inserts all SQL data definitions.)

I.E. Main program has enbedded SQL. It is bound to a Service Program with a procedure that performs a GET DIAGNOSTICS. Since the GET DIAG returns values from SQL's data pool, will it see the data in the primary program, or return whatever is in the procedure's local area?

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > SQLCA shared between bound procedures?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT