JAMS Reference Manual
Contents Index JAMS Home Support

JAMS Reference Manual


Previous Contents Index


SET VARIABLE

Updates the current value of a JAMS Variable.

Format

SET VARIABLE variable-name [new-value]


Parameters

variable-name

A valid JAMS Variable name. You can access a Variable on a remote node by specifying the remote node name and access control information in the standard DECnet format.

new-value

The new value for the specified Variable. Enclose this in quotes to preserve case and embedded spaces. This value is not allowed if you specify one of the valid qualifiers.

If the Variable has a datatype of DATE, the new value must be specified in DD-MMM-YYYY format. If the Variable has a datatype of TIME, the new value must be specified in HH:MM:SS, 24 hour format.


Description

The SET VARIABLE command is used to update the current value of a JAMS Variable. The value can be replaced or updated, depending upon what qualifiers are used. The specified data and qualifiers must be compatible with the Variable's data type.

restrictions

You must have CHANGE access to the Variable whose value you are trying to change.
related commands

Qualifiers

/CURRENT

This qualifier may be used with Variables which have a data type of DATE, TIME or DATETIME. If this qualifier is used, the Variable is set to the current date and/or time.

/DECREMENT

This qualifier can be used with Variables which have a data type of INTEGER, FLOAT, DATE or DATETIME. For data types of INTEGER and FLOAT, the current value is decremented by 1. For data types of DATE and DATETIME, the value is decremented by 1 day.

/INCREMENT

This qualifier can be used with Variables which have a data type of INTEGER, FLOAT, DATE or DATETIME. For data types of INTEGER and FLOAT, the current value is incremented by 1. For data types of DATE and DATETIME, the value is incremented by 1 day.


Previous Next Contents Index
JAMS Copyright © 2000, MVP Systems, Inc. All rights reserved.