7.3.14 COMPATIBLE_CMDSUB parameter (defines the behavior of command substitution) [only for UNIX]
Syntax
#-adsh_conf COMPATIBLE_CMDSUB V10
Description
The purpose of this parameter is for maintaining compatibility. Users satisfying the following conditions need to consider whether or not a definition is necessary:
-
Users who had been using a version of JP1/Advanced Shell earlier than 11-00 and have upgraded to 11-00 or later.
Operands
- V10
-
When CURRENT has been specified for the PIPE_CMD_LAST parameter, the last command of the pipe is executed with the current process. In addition, a temporary file is used for exchanging data.
Notes
-
When this parameter has been defined for both the system environment file and the job environment file, the definition of the job environment file will be enabled.
-
When this parameter has been defined multiple times for the same host in the same environment file, a parameter error will occur.
-
If a command for which all of the following conditions overlap is described, the result of command substitution may not be obtained correctly.
-
The COMPATIBLE_CMDSUB parameter is specified.
-
CURRENT is specified for the PIPE_CMD_LAST parameter.
-
A pipe is being used during the command substitution process.
-
The last command linked with a pipe is being executed in the background (example: `cmd1 | { cmd2, cmd3 & }`).
-