Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why SQLCA in Working Storage? Why not in Linkage?

Status
Not open for further replies.

nagumotu

Programmer
May 13, 2003
2
US
When ever we receive data from calling program we get in linkage section. where as receiving the status of the query in to working storage. i.e include sqlca in working storage. why NOT in Linkage section?[pipe]
 
The storage used for your SQL area is effectively defined in your programs working storage, and is in reality used as linkage into "DB2".

It is not passed into your program as linkage as the preceding programs no nothing about your DB2 connection. I would be surprised if you couldn't define these fields as being linkage but I would be a bit dubious about your design should yo do so.

Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top