Input Source Override - Message (-IM)

Use the Input Source Override - Message execution command (-IM) to override specifications in the compiled map file for a specific input card for a single execution of a map. Only the specified adapter settings are used to override the settings compiled into the map.

For example, if the WorkArea option (W or !W) is not specified, the WorkArea setting compiled into the map is used.

-IM[alias]card_num[M['filename']]
[W|!W][X|X0][Rcount:interval][B][EN][EA][EF][ES][EW] [AF][AI][PM][PB][PC][F'n'][U][!U] [K['filename']|[+'filename']|[U'filepath']|[U]| [1'filename']|[1+'filename']|[U1'filepath']|[U1]] {src-adptr-cmd|.}
Option
Description
alias
This is the adapter alias for the specific messaging adapter. For example, AQ is the adapter alias for the Oracle AQ adapters. See the adapter-specific information in the Resource Adapters documentation. For operating system and version-specific information, see the system requirements and the release notes.
card_num
This is the card number of the input to override.
M'filename'
This is the metadata (XML schema or DTD) file location of the input card to override.
Specify filename as an absolute path along with the file name and enclosed in single quotes, for the metadata when parsing input XML. An example is:
M'k:\my_project_folder\myschema.xml'
Use this command option to override the Metadata location setting for the root type specified on an input card in the Map Designer GUI.
W
After a map runs the first time, the WorkArea created for the input card is not deleted. For subsequent executions of the same map, the data for this input card is not validated and the WorkArea information for the card is retrieved from the existing WorkArea.
!W
The WorkArea of input is created when map execution begins.
X
If the map, burst, or card completes successfully, the message is deleted from its source.
X0
If the map, burst, or card completes successfully, the message is deleted from its source, only if it has no content. If neither delete option (X or X0) is specified, the OnSuccess setting compiled into the map is used.
Rcount:interval
Specify Retry settings. If the source is unavailable, the adapter attempts to access the source as many times as specified by the count setting at the interval specified by the interval setting.

count number of attempts to access the message queue.

interval number of seconds to wait between attempts. If this option is not specified, the Retry settings compiled into the map are used. To eliminate adapter retry, specify R0:0.

B
If the map, burst, or card does not complete successfully, roll back any changes made to this data source. If this option is not specified, the OnFailure setting compiled into the map is used.
EN
Use this command option to never call the external parser for document verification.
EA
Use this command option to always call the external parser for document verification.
EF
Use this command option to call the external parser for document verification only if validation fails.
ES
Use this command option to call the external parser for document verification only if validation is successful.
EW
Use this command option to call the external parser for document verification only for the well-formed document.
AF
Use this command option to fail on adapter warnings.
AI
Use this command option to ignore adapter warnings.
PM
Use this command option to apply the OnSuccess and OnFailure settings based on the success or failure of the map execution.
PB
Use this command option to apply the OnSuccess and OnFailure settings based on the success or failure of each burst.
PC
Use this command option to apply the OnSuccess and OnFailure settings based on the success or failure of the input card processing
Fn
FetchUnit defines the number of units of data to retrieve. The default value for FetchUnit is S (unspecified all).
U
Use this command option to apply the burst setting.
!U
Use this command option to not burst (integral mode).
K
When the map, burst, or card runs, no backup file will be created.
K'filename'
When the map, burst, or card runs, a backup file will always be created to filename. If 'filename' is not an absolute path, the map directory will be appended as a prefix to it.
K+'filename'
When the map, burst, or card runs, a backup file will always be appended to filename. If 'filename' is not an absolute path, the map directory will be appended as a prefix to it.
KU'filepath'
When the map, burst, or card runs, a backup file will always be created using a unique backup name in the directory filepath. If 'filepath' is not an absolute path, the map directory will be appended as a prefix to it.
KU
When the map, burst, or card runs, a backup file will always be created using a unique backup name in the map directory.
K1'filename'
If the map, burst, or card does not successfully complete, a backup file will be created to filename. If 'filename' is not an absolute path, the map directory will be appended as a prefix to it.
K1+'filename'
If the map, burst, or card does not successfully complete, a backup file will be appended to filename. If 'filename' is not an absolute path, the map directory will be appended as a prefix to it.
KU1'filepath'
If the map, burst, or card does not successfully complete, a backup file will be created using a unique backup name in the directory filepath. If 'filepath' is not an absolute path, the map directory will be appended as a prefix to it.
KU1
If the map, burst, or card does not successfully complete, a backup file will be created using a unique backup name in the map directory.
src-adptr-cmd
Specify settings for the source using the adapter-specific commands. See the adapter-specific information in the Resource Adapters documentation.
.
Use Command in the compiled map file.

-IMALE2F2AFUPBX0R10:5BK'ale.bak'<ale_commands>'

In this example, Input 2 is ALE -IMALE2. Use 2 as a fetch unit, specified as F2. F is the Fetch unit command option and 2 is the actual fetch unit. Use fail on adapter warnings AF, burst U, adapter scope is burst PB, delete if no content X0, retry 10 times every 5 seconds R10:5, B is the Rollback if failure command option. When B is specified, at map run time, if the map, burst, or card does not complete successfully, any changes made to this data source are rolled back and backup is written to the file ale.bak.

B

Note: While the -IA/-OA can be used in place of -IM/-OM to include the message or application <type>, -IM/-OM CANNOT be used to replace -IA/-OA when specifying a library and function name for user adapters.