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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.