VMS Help
SET, PREFIX
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Allows you to set a prefix control string for verified command
lines.
Format
SET [NO]PREFIX string
string
Specifies the FAO control string to be used in generating a
prefix to a verified command line. The following rules apply:
o No more than 64 characters are allowed in the control string.
o The resulting string can be no longer than 64 characters.
o Basic formatting FAO directives can be used ("!/", "!_", "!^",
"!!", "!%F", and "!n*c").
o Time and date FAO directives can be used ("!%T" and "!%D").
o Repeat counts can be used ("!n(DD)").
o Output field length specifications can be used ("!lengthDD").
o Combination of repeat count and output field length can be
used ("!n(lengthDD)").
o FAO directives that require arguments will always receive a
value of zero.
$ SET VERIFY
$ @TEST
$ SET DEFAULT SYS$LOGIN
$ SHOW DEFAULT
USER$:[JENSEN]
$ SET PREFIX "(!5%T) "
$ @TEST
(17:52) $ SET DEFAULT SYS$LOGIN
(17:52) $ SHOW DEFAULT
USER$:[JENSEN]
This example demonstrates the difference between having and
not having a prefix for verification. The first command turns
on verification. (Verification must be turned on to see the
prefix.) The second command invokes a test procedure to show
what the output looks like without a prefix. The third and
fourth lines reflect the contents of the test procedure invoked
in the preceding command. The third command sets the prefix to
an FAO control string so that the first five characters of the
standard time will be shown for each command. The last command
invokes the test procedure again to demonstrate what the output
looks like with a prefix.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.