# GETVER > [HTML Version](getver_sbr.htm) **xcall GETVER, verstring** GETVER returns the version of the currently running program module, either RUN or LIT or SBX. **Parameters** _verstring_ \[out\] ([String](string.htm.md)) should be 13+ characters to handle the longest possible version string. **Example** Given the following PROGRAM statement: PROGRAM MYTEST,1.0A(234) GETVER_ _would return: 1.0A(234) **Comments** If the program is currently executing an SBX, then GETVER will return the version of the SBX rather than the version of the main program. A module with no [PROGRAM](program_statement.htm.md) statement will return version "0.0(0)" The version string returned by GETVER is the same as that displayed by DIR/V and also the same as the value of the dot variable .PGMVERSION. To retrieve the version of a program module other than the one currently executing (i.e. like DIR/V does), see the function [Fn'ProgVer\$(fspec) in SOSLIB:\[907,11\]](https://bitbucket.org/microsabio/soslib/src/master/907011/fnprogver.bp). **See Also** • [VERSYS.LIT](versys_lit.htm.md), which returns the versions of source modules embedded within a compiled program module. • [MX\_GETVER](mx_getver.htm.md)[xs](keyword-types.htm.md), which returns the A-Shell version. • [MX\_OSVER](mx_osver.htm.md)[xs](keyword-types.htm.md) which returns the operating system version information • [Fn'MinAshVer() in SOSLIB:\[907,10\]](https://bitbucket.org/microsabio/soslib/src/master/907010/fnminasver.bsi) provides an easy way to check that A-Shell and/or ATE are at least a specified version. • [Fn'FileVer\$() in SOSLIB:\[907,10\]](https://bitbucket.org/microsabio/soslib/src/master/907010/fnfilever.bsi) retrieves the version of a program file on disk.