Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Asset Console Creating an Access Definition File Guide


$UPPER (convert string)

$UPPER converts the alphabetic characters specified in the argument character string to upper case.

Organization of this page

Syntax

return-value=$UPPER(character-string)

Values

Status

The following table lists and describes the possible statuses:

Status

Description

NORMAL

Normal end

NODATA

ERROR

Script execution interrupted

An invalid argument was specified, or an error other than the above occurred.

Legend:

—: Not applicable

Example

The following example converts the contents of the variable NAME to upper case, and outputs the result:

[SET_VALUE]
  NAME = 'computer name'
  VAL = $UPPER(NAME)
  MSG = 'UPPER = ' + VAL
  $ECHO(MSG)
Execution result:

UPPER = COMPUTER NAME