Data Archive
- Data Archive 6.5
- All Products
Order | Parameter | In/Out | Type |
---|---|---|---|
1 | defn_id | In | Number |
2 | param_string | In | Varchar2 |
3 | job_type | In | Varchar2 |
4 | callback | In | Varchar2 |
5 | schedule_id | In | Varchar2 |
Parameter | Description |
---|---|
defn_id | The ID of the Restore Definition that contains the entity and interim table to be used to restore the transaction. |
param_string | The column name and value to be used by the Transaction Restore job to restore the transaction. This is the column or columns that comprise the unique key for the transaction. The syntax for the Transaction Key string is: 'CLAIM_ID=12345' If a composite key is being used, then the columns are separated by the caret (^) symbol: 'CLAIM_ID=12345^CLAIM_TYPE=987' If the value is a string, then PL/SQL syntax for single quotes must be used: 'CLAIM_ID=12345^CLAIM_TYPE=''ABC''' If a Program Callback is being used and the program requires input parameters, then those parameter names and values are to be appended to the Transaction Key: 'CLAIM_ID=12345^CLAIM_TYPE=987^CALLBACK_ID= 12AB' |
job_type | Type of Job to submit (currently only supports "I" for immediate) |
callback | The name of the Program Callback to be executed by the Transaction Restore API. This can be an HTTP or a SQL call. The syntax expected of this parameter is: sql://program_callback_name($param_name1,$param_name2,… ,$param_nameX) or http://web.page.to.call/index.html?$param_name1¶m_name2 When using a SQL callback, the sql statement will be executed as the amhome user in the home instance. When formatting this string, it will take any of your parameters (from the parameter string), and it will take these Informatica provided variables:
Using these variables, you can have the XA_TRX_RESTORE_API call any package (from the amhome schema). For example: Callback: sql://call my_callback($JobID, ''$ReturnCode'', ''$ReturnText'', ''$my_id'') Resulting Callback: my_callback(111, 'C', '', 'abc') |
schedule_id | Output parameter with the result of the schedule.
|