To use these EABs in your application, follow this procedure:
|
Work Set (one per DBMS) |
Attribute Name |
Length |
Domain |
|---|---|---|---|
|
DB2_UDB_SQLCA |
SQLCODE |
8 |
Numeric |
|
|
MESSAGE_LENGTH |
8 |
Numeric |
|
|
ERROR_MSG |
256 |
Text, mixed case, varying length |
|
|
SQLWARN |
11 |
Text, uppercase, fixed length |
|
|
SQLSTATE |
5 |
Text, uppercase, fixed length |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
|
MSSQL_SQLCA |
SQLCODE |
8 |
Numeric |
|
|
MESSAGE_LENGTH |
8 |
Numeric |
|
|
ERROR_MSG |
70 |
Text, mixed case, fixed length |
|
|
SQLWARN |
8 |
Text, uppercase, fixed length |
|
|
SQLSTATE |
5 |
Text, uppercase, fixed length |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
|
ORACLE_SQLCA |
SQLCODE |
8 |
Numeric |
|
|
MESSAGE_LENGTH |
8 |
Numeric |
|
|
ERROR_MSG |
70 |
Text, mixed case, fixed length |
|
|
SQLWARN |
8 |
Text, uppercase, fixed length |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
|
ODBC_SQLCA |
SQLSTATE |
5 |
Text, uppercase, fixed length |
|
|
SQLCODE |
8 |
Numeric |
|
|
ERROR_MSG |
512 |
Text, mixed case, fixed length |
|
|
MESSAGE_LENGTH |
8 |
Numeric |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
|
JDBC_SQLCA |
SQLSTATE |
5 |
Text, uppercase, fixed length |
|
|
SQLCODE |
8 |
Numeric |
|
|
ERROR_MSG |
512 |
Text, mixed case, fixed length |
|
|
MESSAGE_LENGTH |
8 |
Numeric |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
|
ADONET_SQLCA |
SQLSTATE |
5 |
Text, uppercase, fixed length |
|
|
SQLCODE |
8 |
Numeric |
|
|
ERROR_MSG |
512 |
Text, mixed case, fixed length |
|
|
MESSAGE_LENGTH |
8 |
Numeric |
|
|
DBMS_TYPE |
8 |
Text, mixed case, fixed length |
Note: These must be in the order shown in the preceding table.
Note: The USE statement does not have to be subordinate to the WHEN DATABASE statement, but the EAB will not work properly unless a WHEN DATABASE statement has actually executed first.
GETODBCS
GETDB22S
GETMSSQL
GETORACL
GETJDBCS
GADONETS
You do not need to generate the external action block stub.
The EAB source provided by CA Gen does not require precompilation or binding for workstation targets.
Note: For more information about EAB, see the chapter “Using External Action Blocks.”
|
Copyright © 2013 CA.
All rights reserved.
|
|