Data Archive
- Data Archive 6.5
- All Products
Parameter | Required |
---|---|
DefinitionID | Yes |
Others, List of UserDefined Parameters | Yes |
Callback | No |
Parameter | Description |
---|---|
DefinitionID | The ID of the Restore Definition that contains the entity and interim table to be used to restore the transaction. |
Others, List of UserDefined Parameters | As part of the API, you will supply the column name as a parameter name, and the new value that you wish to use. 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. Example: http://testamhome:8080/jsp/ QuickTxnRestore.jsp?DefinitionID=10&CLAIM_ID=12345 If a composite key is being used, then you can specify all of the columns. Example: CLAIM_ID=12345&CLAIM_TYPE=987 Any of the Parameters used can be used as "tokens" for the Callback, for example: $CLAIM_ID or $CLAIM_TYPE |
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') Resulting Callback: my_callback(111, 'C', '', 'abc') |
Job ID (returning value of function) | Output parameter with the result of the schedule.
|