FORTRAN Reference Manual

Utility Routines
FORTRAN Reference Manual528615-001
15-25
Changing Environment Information
The following example uses GETASSIGNTEXT to obtain a file name:
?GUARDIAN GETASSIGNTEXT
CHARACTER*63 filename
INTEGER error
error = GETASSIGNTEXT ('TANDEMNAME', filename, 1)
Changing Environment Information
The group of SMU routines that begin with PUT and the ALTERPARAMTEXT routine
allow you to change environment information. The PUT routines are the exact
counterparts of the GET routines. Each PUT routine enables you to insert a new value
into a PARAM, ASSIGN, or startup message.
The difference between PUTPARAMTEXT and ALTERPARAMTEXT is that
ALTERPARAMTEXT enables you to insert trailing blanks in the new parameter value.
Table 15-3. SMU Routines for Obtaining Environment Information
Routine Portion Returns
GETASSIGNTEXT LOGICALNAME
TANDEMNAME
File description name
GETASSIGNVALUE ACCESS
BLKSIZE
EXCLUSION
FILECODE
PRIEXT
RECSIZE
SECEXT
Access mode
Block size
Exclusion code
File code
Primary disk extent
Record size
Secondary extent
GETPARAMTEXT Name of the parameter whose
text is to be returned
Value of parameter
GETSTARTUPTEXT IN
OUT
STRING
VOLUME
Name of IN file
Name of OUT file
Text following run option-option
list on the
command line
Names of default volume and
subvolume