An external line command definition can execute a REXX EXEC to create dynamically a command string to execute. The information contained in the data fields is passed to the REXX EXEC. The REXX EXEC uses this data to determine the nature of the command string to return.
Use the following syntax to create command string using a REXX EXEC:
Syntax:
....+....1....+....2....+....3....+....4....+....5....+....6....+....7.. *Command. Linecmd. Min CmdString command linecmd min CMD REXX execname parameters
Examples:
....+....1....+....2....+....3....+....4....+....5....+....6....+....7.. *Command. Linecmd. Min CmdString. ACTIVITY TEST 8 CMD REXX ACTTEST &F_JOBNAME &F_TYPE
Only one REXX invocation is allowed per definition, and it must be the first command string.
The REXX EXEC must return a string to execute. The string can contain multiple commands separated by the command delimiter.
The returned result replaces the calling command string:
REXX execname parameters
Copyright © 2014 CA.
All rights reserved.
|
|