TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-405
#TACLVERSION Built-In Function
END;
]
== Put TACL version into the structure
#SET tv [#TACLVERSION]
== Obtain the fields
#SET %1% [tv:fld(0:4)] == T9205 Product number
#SET %2% [tb:fld(5:7)] == Xnn Version
== Ignore 8:10 == " - " (formatting)
#SET %3% [tv:fld(11:19)] == ddMMMyyyy Date
== Clean up and exit
#UNFRAME
]
To use this macro, define variables to hold the components of the TACL product
number and invoke the macro to assign those components:
12> #PUSH product version date
13> BREAK^VERSION product version date