|
Previous | Contents | Index |
Creates a new JAMS Variable.
CREATE VARIABLE variable-name [value]
variable-name
A valid JAMS Variable name.value
The value for the specified Variable. Enclose this in quotes to preserve case and embedded spaces.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.
The CREATE VARIABLE command is used to create a new JAMS Variable.
You must have ADD access to Variable Definitions.related commands
/ACL
This qualifier is used to specify an Access Control List for the Variable./DATATYPE
This qualifier is used to specify the data type of the new Variable. If you do not specify a data type, the default is TEXT. The valid data types are:TEXT
INTEGER
BOOLEAN
DATE
TIME
DATETIME
FLOAT
UNKNOWN/DESCRIPTION
This qualifier can be used to specify a description of the new Variable./REPLACE
/NOREPLACE
This qualifier is used to specify whether you want to create or replace the Variable. If you omit this qualifier, the Variable will be created if it does not exist and replaced if it does exist. If you specify /REPLACE, an error will be returned if the Variable does not exist and no changes will be made. If you specify /NOREPLACE, an error will be returned if the Variable exists and no changes will be made.
Previous | Next | Contents | Index |
Copyright © 2000, MVP Systems, Inc. All rights reserved. |