
Chapter 2 35
Command Definitions A-B
Native Mode Command Structure
NOTE If a parameter value begins with a quote it must have a matching end quote. If
it does not begin with a quote it may contain embedded quotes which will be
treated as any other character.
For more information on the use of quotes, refer to the section "Using Quotes and Strings"
earlier in this chapter.
The SETVAR Command
The SETVAR command allows you to use either spaces, semicolons, or commas to delimit
parameters, as follows:
SETVAR NAME expression
SETVAR NAME,expression
SETVAR NAME;expression
The rules for using quotes within strings containing delimiters or quotes, previously
discussed, apply to the SETVAR command.
For example, suppose you want to set a variable called BIGVAR to a value of X,"Y";Z.
This expression contains two delimiters (comma and semicolon) as well as quotes. The
correct SETVAR command would be:
SETVAR BIGVAR "X,""Y"";Z"
You could also delimit the expression from the variable name using either a comma or
semicolon as follows:
SETVAR BIGVAR;"X,""Y"";Z"
SETVAR BIGVAR,"X,""Y"";Z"
For more information on the use of quotes, refer to the section "Using Quotes and Strings"
earlier in this chapter.
The XEQ Command
The XEQ command allows you to use only spaces to delimit parameters, as follows:
XEQ filename [parameters]
XEQ cmdfile [parameters]
NOTE A leading semicolon is optional for the first keyword parameter supplied for
most commands if it immediately follows the command name. For example,
the two commands below are equally valid:
ALTJOB JOB=...
ALTJOB ;JOB=...