TARGET_VARIANT - USAP configuration option
Description
The TARGET_VARIANT option specifies one or more replacement variants for ABAP program job steps in an SAP job.
Each execution of an ABAP program (job step) in an SAP job can use a single variant that contains parameters specific to that program. TARGET_VARIANT specifies variants that can be used as replacement variants for one or more of these job steps in single SAP job execution.
When a user RUNs or SUBMITs a predefined SAP job that specifies TARGET_VARIANT, Universal Connector first performs a copy of the template job, then performs the variant substitution.
Usage
Method | Syntax | IBM i | HP NonStop | UNIX | Windows | z/OS |
Command Line, Short Form | n/a |
|
|
|
| |
Command Line, Long Form | -target_variant job step, variant name; [USAP:job step, variant name]... |
|
| |||
Environment Variable | n/a |
|
|
|
|
|
Configuration File Keyword | n/a |
|
|
|
|
|
Value
Each target variant contains a pair of values:
- job step is the number of the job step (ABAP program) in the SAP job.
- variant name is the name of the replacement variable for that job step.
Each job step / variant name in a target variant is separated by a comma ( , ). Each target variant is separated by a semicolon ( ; ).
For example:
-target_variant 1,var1
-target_variant 1,var1;3,var2;7,var3
Command Usage
The TARGET_VARIANT option is used in the following Universal Connector commands: