Oracle8i Supplied Packages Reference Release 8.1.5 A68001-01 |
|
DBMS_DEFER_QUERY
enables querying the deferred RPC queue data that is not exposed through views.
Subprogram | Description |
---|---|
GET_ARG_FORM function |
Determines the form of an argument in a deferred call. |
GET_ARG_TYPE function |
Determines the type of an argument in a deferred call. |
GET_CALL_ARGS procedure |
Returns the text version of the various arguments for the given call. |
GET_datatype_ARG function |
Determines the value of an argument in a deferred call. |
This function determines the form of an argument in a deferred call. This function returns the character set ID of a deferred call parameter.
See Also:
For more about displaying deferred transactions, see "Displaying Deferred Transactions" in the Oracle8i Replication manual. For more information about displaying error transactions, see "Displaying Error Transactions" in the Oracle8i Replication manual. |
DBMS_DEFER_QUERY.GET_ARG_FORM ( callno IN NUMBER, arg_no IN NUMBER, deferred_tran_id IN VARCHAR2) RETURN NUMBER;
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
Return | Corresponding Datatype |
---|---|
1 |
CHAR, VARCHAR2, CLOB |
2 |
NCHAR, NVARCHAR2, NCLOB |
This function determines the type of an argument in a deferred call. The type of the deferred RPC parameter is returned.
See Also:
For more about displaying deferred transactions, see "Displaying Deferred Transactions" in the Oracle8i Replication manual. For more information about displaying error transactions, see "Displaying Error Transactions" in the Oracle8i Replication manual. |
DBMS_DEFER_QUERY.GET_ARG_TYPE ( callno IN NUMBER, arg_no IN NUMBER, deferred_tran_id IN VARCHAR2) RETURN NUMBER;
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
Return | Corresponding Datatype |
---|---|
1 |
VARCHAR2 |
2 |
NUMBER |
11 |
ROWID |
12 |
DATE |
23 |
RAW |
96 |
CHAR |
112 |
CLOB |
113 |
BLOB |
This procedure returns the text version of the various arguments for the given call. The text version is limited to the first 2000 bytes.
DBMS_DEFER_QUERY.GET_CALL_ARGS ( callno IN NUMBER, startarg IN NUMBER := 1, argcnt IN NUMBER, argsize IN NUMBER, tran_id IN VARCHAR2, date_fmt IN VARCHAR2, types OUT TYPE_ARY, forms OUT TYPE_ARY, vals OUT VAL_ARY);
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
This function determines the value of an argument in a deferred call.
See Also:
For more about displaying deferred transactions, see "Displaying Deferred Transactions" in the Oracle8i Replication manual. For more information about displaying error transactions, see "Displaying Error Transactions" in the Oracle8i Replication manual. |
Depending upon the type of the argument value that you want to retrieve, the syntax for the appropriate function is as follows. Each of these functions returns the value of the specified argument.
DBMS_DEFER_QUERY.GET_datatype_ARG ( callno IN NUMBER, arg_no IN NUMBER, deferred_tran_id IN VARCHAR2 DEFAULT NULL) RETURN datatype;
where datatype:
{ NUMBER | VARCHAR2 | CHAR | DATE | RAW | ROWID | BLOB | CLOB | NCLOB | NCHAR | NVARCHAR2 }
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
ORA-26564 |
Argument in this position is not of the specified type. |