DBXHAPR is only for COBOL programs using dynamic SQL. COBOL does not allow the SQLDATA and SQLIND fields to be declared as pointer variables. When you nevertheless need to set them to the address of host variables in SQLVAR, follow these steps:
CALL 'DBXHAPR' USING <SQLDATA>, <host-var>.
INCLUDE OBJLIB(DBXHAPR)
|
Copyright © 2014 CA.
All rights reserved.
|
|