Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


VAR_SHELL_GETLENGTH parameter (defines the unit for the lengths of variable values that are replaced in format ${#variable})

Organization of this page

Format

VAR_SHELL_GETLENGTH {BYTE|CHARACTER}

Description

This parameter defines the unit for the lengths of variable values that are replaced in the format ${#variable}.

Operands

BYTE

Specifies that the length of a value stored in variable in the format ${#variable} is to be replaced by the length in bytes.

CHARACTER

Specified that the length of a value stored in variable in the format ${#variable} is to be replaced by the lengths in characters.

Examples

This example executes echo ${#CVAL} to obtain the length of the value of variable CVAL in which character string abcdef[Figure] is set.