SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-179
String Intrinsics
letter representing the general release version, and nn is a number representing
the specific release level, for example, D10 or D20.
This example returns: “Seeview T6965D20 (01MAR97)”.
#VERSIONIPM
returns a string containing the software product revision (SPR) of the current
SeeView process. The SPR information returned is in “aaa” format, where “aaa
are letters representing the SPR, such as AAA, AAB, and so on.
The following example returns “SeeView D20 AAA”.
#VOLSUB
returns a string containing the current default volume and subvolume for the
SeeView process. You can alter the value of this intrinsic with the ALTER VOLUME
statement.
You can use this intrinsic to refer to the name of a file located on the current default
subvolume. For example:
#VOLSUBINVOKE
returns a string containing the current volume and subvolume specified with the
ALTER INVOKEVOL statement. Use this intrinsic when you want to refer to the
current INVOKE subvolume.
The INVOKE subvolume is the default subvolume for the INVOKE statement; for
example, the subvolume that is expanded when you specify a simple file name in
an INVOKE statement.
#VOLSUBOBJECT
returns a string containing the current volume and subvolume of the SeeView
object file. Use this intrinsic when you want to refer to the subvolume where the
SeeView object and associated files are located.
MSG #PRODNAME & " " & #PRODNUM & #VERSION & " " & #REVISION;
MSG #PRODNAME & " " & #VERSION & " " & #VERSIONIPM;
?PROC FileInfo ( #file )
{----------------------}
{ This proc uses the #INFO string operator to display file
{ info on the simple file name contained in string #file.
{ Note that #file is expanded using the current default subvol.
{-----------------------------------------------------------}
PARM #file;
#file := #VOLSUB &
"." & #file;
MSG #INFO #file;