SCF Reference Manual for G-Series RVUs (G06.27+)

SCF Commands
SCF Reference Manual for G-Series RVUs520413-005
5-24
ALIAS Command
Examples
The following is an example of an alias name used at the beginning of a command
line. An alias name for the SETPROMPT command is created, used, and deleted.
Comment lines of text (preceded by “==”) are used to guide you through the
example.
-> == Add an alias.
-> ALIAS SP SETPROMPT
-> == Display the defined alias.
-> ALIAS S*
SP.................. SETPROMPT
-> == Use the alias "SP".
-> SP ALL
\B7 $SYSTEM SYSTEM 32-> == Delete the alias "SP".
\B7 $SYSTEM SYSTEM 32-> CLEAR ALIAS SP
\B7 $SYSTEM SYSTEM 33->
The following is an example of an alias name used within a command line of a
SCFCSTM file, as described in the last consideration for this command. In this
example, an alias name is created for a specific line object.
== Add an alias object type and name.
ALIAS LI LINE $XYZ
== Use the ALIAS "LI".
INFO -LI,DETAIL
== The alias name expands the command
== to INFO LINE $XYZ,DETAIL.