This command sets the values of variables of any of
the four types. See the description of ASSIGNMENT above.
There can be UNIX shell environment variables in any input or output
filename. The environment variables have to be in the format ${VARNAME} or $(VARNAME). Also, four predefined macros are
available for string variables:
Four predefined macros are available for string variables:
- '${LIB}' is expanded into $LIB_APPLICATION shell
environment variable,
where APPLICATION is the name-version of the program (e.g., MODELLER5);
- '${DIR}' is expanded into the TOP variable DIRECTORY;
- '${JOB}' is expanded into the root of the TOP script filename,
or '(stdin)' if TOP instructions are being read from standard input;
- '${DEFAULT}' is expanded into (ROOT_NAME)(FILE_ID)(ID1)(ID2)(FILE_EXT),
where ROOT_NAME, FILE_ID, ID1, ID2, and FILE_EXT are
TOP variables. FILE_ID is a string that may be set to
'default'. In that case, a hard-wired short string is used instead of
FILE_ID. Otherwise, the explicitly specified FILE_ID is
applied instead. In any case, FILE_ID is not modified by the
filename generation routine so that it can be used more than once
without resetting it to the 'default' value. Four digits are used
for both ID1 and ID2. For example, '2ptn.B99990001'
results from ROOT_NAME = '2ptn', FILE_EXT = '.B',
ID1 = 9999, and ID2 = 1.