next up previous contents index
Next: Mnemonic name manipulation Up: Description of user Previous: Initialisation and termination

Alias manipulation

Enter, delete or retrieve an alias

CALL CDALIA (PATH,ALIAS,CHOPT,IRC*)

PATH
Character string specifying the directory path name
ALIAS
Character string specifying the alias or in which the alias is returned (option R)
CHOPT
Character variable specifying the options required.
'D'
Delete the current alias definition for the specified path name (ALIAS is ignored).
'P'
Print the current alias definition for PATH (ALIAS is ignored).
'G'
Get the current alias for PATH. The alias is returned in ALIAS.
'R'
Return the current equivalence name for ALIAS in PATH
'S'
Set the specified alias for the specified path name for this session
'U'
As option S, but also updates the database
IRC
Integer return code  
0
Normal completion
182
Illegal path name
185
Illegal top directory name
187
FZOUT fails to write on the sequential file
188
Error in RZ for writing to the random access file
201
Dictionary directory not found
205
Not a valid alias
This routine may be used to enter, remove, print or retrieve aliases.

See page gif for a discussion of HEPDB aliases.


Janne Saarela
Tue May 16 10:31:09 METDST 1995