The modify command is used to modify a variable.
Windows/OpenVMS Format:
modify/variable variable [/qualifiers]
UNIX/Linux Format:
chvar variable [-qualifiers]
General Qualifiers:
/comment or -comment=comment
/[no]log or -[mo]log
/[no]confirm or -[no]confirm
/node or -node=node
/type or -type=var_type
/value or -value=var_value
Windows/OpenVMS:
Schedule> modify/variable sch_test_var /value=on
UNIX/Linux:
Schedule> chvar beginningofnextmonth -type=expression -value='"bom" + 1 month'
/comment or -comment
The COMMENT qualifier is the comment that is associated with a variable.
/[no]confirm or -[no]confirm
CONFIRM requests that the user be prompted prior to any operation to verify that the selected entry is the correct one.
/hostname or -node =hostname
The qualifier specifies what node (either local or remote) you want the operation performed on.
/[no]log or -[no]log
The LOG qualifier causes each completed operation to issue a note to the user.
/type or -type=var_type
The type qualifier modifies the type of the variable. The two types are "string" for a string variable and "expression" for a variable expression.
/value or -value
The VALUE qualifier is used to display the contents of the variable. This value can be any alphanumeric characters up to 256 characters long.