Hitachi

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


7.3.35 PATH_CONV_VAR parameter (defines the shell variable that handles the path name)

Syntax

#-adsh_conf PATH_CONV_VAR shell-variable-name [shell-variable-name ...]

Description

This command defines the shell variable name that handles the path name. Separators around the shell variable that handles the path name are converted with the path conversion functionality.

Operands

shell-variable-name ~ <[*][Character string][*]>((1 to 255))

This command defines the shell variable name that handles the path name. There is no upper limit for the quantity of the shell variable name that can be specified (the upper limit for the length of a single line in an environment settings file is 4,092 bytes. If the shell variable name cannot be entered on a single line, the name needs to be entered by separating the name across multiple parameters).

Specifying the same shell variable name redundantly will not result in an error.

The collective variable name can be specified by using * for the shell variable name.

Only * indicates all shell variable names.

* represents a number of characters that is equal to or greater than 0.

A syntax of character string*character string cannot be specified.

** cannot be specified.

An example of the specification when the shell variable names of dirA001, dirA002, A001, A002, A0, and C0B0D0 exist is as follows:

Specification example

Target shell variable

#-adsh_conf PATH_CONV_VAR *

dirA001,dirA002,A001,A002,A0,C0B0D0

(All)

#-adsh_conf PATH_CONV_VAR *A001

dirA001,A001

#-adsh_conf PATH_CONV_VAR *B0*

C0B0D0

#-adsh_conf PATH_CONV_VAR dir*

dirA001,dirA002

#-adsh_conf PATH_CONV_VAR dirA001

#-adsh_conf PATH_CONV_VAR A002

dirA001,A002

#-adsh_conf PATH_CONV_VAR dirA001 A002

dirA001,A002

This function is available only when the PATH_CONV_ENABLE environment setting parameter has been specified. However, an error will not occur even if the PATH_CONV_VAR environment setting parameter is not specified.

Specification of this parameter is merged with the specification order of the PATH_CONV_NOVAR environment setting parameter and the later specification is prioritized. The later specification is prioritized even when multiple shell variable names are specified in the same parameter.

Notes

When specifications have been made with both the system environment file and the job environment file, both of these specifications will be merged. In addition, the specification of the job environment file is prioritized over that of the system environment file.

Example

While shell variables having a name that starts with dir are defined as shell variables that handles the path name, shell variables having a name that starts with dirno are defined as shell variables that do not handle the path name.

#-adsh_conf PATH_CONV_VAR dir*
#-adsh_conf PATH_CONV_NOVAR dirno*