This procedure describes how to alter the value of set parameters in a variant.
Before you begin
Do one of the following:
To add parameter values in a variant:
ctmr3req -SAPR3-ACTION var_edit -SAPR3-ACCOUNT <account_name>
-SAPR3-PROGRAM <program_name> -SAPR3-VAR <variant_name>
-SAPR3-VAR_PARAM<nnn>
“<variant_parameter_name>=<variant_parameter_value> [-SAPR3-VAR_TEXT
“<variant_text>”]
<Agent home directory>\CM\SAP\EXE\ctmr3req -SAPR3-ACTION var_edit
-SAPR3-ACCOUNT <account_name> -SAPR3-PROGRAM <program_name>
-SAPR3-VAR <variant_name> -SAPR3-VAR_PARAM<nnn>
“<variant_parameter_name>=<variant_parameter_value> [-SAPR3-VAR_TEXT
“<variant_text>”] [-Agent <agent_name>]
For a list of parameters, see var_edit action parameters.
EXAMPLE: The ctmr3req utility is used to alter parameter values, using the STAR account for the prog1 program, with the var1 variant, when the Airline value is an integer between 5 and 9. The text is “This is a test variant”. All parameters are mandatory, except the SAPR3-VAR_TEXT parameter, as indicated by the square brackets.
ctmr3req -SAPR3-ACTION var_edit -SAPR3-ACCOUNT STAR -SAPR3-PROGRAM
prog1 -SAPR3-VAR var1 -SAPR3-VAR_PARAM001 "AIRLINE=I,BT,5 => 9" [-
SAPR3-VAR_TEXT "This is a test var"]
Parent Topic |