xcall GETVER, verstring
GETVER.SBR returns the version of the currently running program (based on the PROGRAM statement, e.g. “1.0(100)”). This is the same information that DIR/V displays. Map verstring as a string of thirteen or more bytes.