Hitachi

JP1 Version 11 JP1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide 


7.3.13 COMPATIBLE_CMD_EXEC parameter (defines the activation method of an external command) [only for Windows]

Syntax

#-adsh_conf COMPATIBLE_CMD_EXEC 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:

The activation method of an external command can be selected by defining this parameter.

The activation method of external commands has been changed with version 11-00 of JP1/Advanced Shell. However, some external commands that were capable of being normally terminated with a version of JP1/Advanced Shell prior to 11-00 might terminate with an error due to this change.

To activate an external command using a method maintaining compatibility with a version prior to 11-00 without changing the contents of the job definition script created with the version prior to 11-00, we recommend specifying V10 for the operand and specifying this parameter for the environment file.

With this operation, you can activate an external command using the same method as the version prior to 11-00. When V10 has been specified for the operand, the following process is performed upon execution of the external command:

Behavior when V10 has been specified for the COMPATIBLE_CMD_EXEC parameter
  • Replaces the "\" in front of the " (double quotation mark) in the argument with "\\".

  • Adds a "\" in front of the " (double quotation mark) in the argument.

  • Enclose the argument with double quotation marks (").

If you want to skip the aforementioned process, specify the -w option for the command command and start the external command.

However, when the external command is started upon specifying the -w option for the command command, the external command is started using the method for maintaining compatibility with the version prior to 11-00.

Operands

V10

After executing the aforementioned process, the external command is started using the method for maintaining compatibility with the version prior to 11-00.

Notes