TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-340
#SEGMENTVERSION Built-In Function
#SEGMENTVERSION Built-In Function
#SEGMENTVERSION returns the format (C00/C10 or C20 or later) of a segment file.
file-name
is the name of an existing TACL segment file.
Result
#SEGMENTVERSION returns one of these characters:
If the specified file does not exist, cannot be opened, cannot be read, or is not a TACL
segment file (file code 440), TACL issues an appropriate error message.
Consideration
To convert a segment to the other format, use the #SEGMENTCONVERT built-in
function.
#SEGMENTVERSION file-name
A if the segment file is in C00/C10 forma
B if the segment file is a format version C20 or later