Product SiteDocumentation Site

8.76. SysUtilVersion


>>-SysUtilVersion()--------------------------------------------><

Returns a version number that identifies the current level of the Rexx Utilities package. It can be used to verify the availability of certain functions.
Return code: The REXXUTIL version number in the format n.m.l.
Examples:
Because this function was not part of the original packaging, a sample logic to check for a certain level of RexxUTIL can look as follows:

Example 8.44. RexxUtil - SysUtilVersion

If RxFuncQuery("SysUtilVersion") = 1 |,
   SysUtilVersion() < "2.00" Then
     Say "Your RexxUTIL.DLL is not at the current level"

If a specific function should be used that was added at a later REXXUTIL level a similar check can be performed by querying this function as follows:

Example 8.45. RexxUtil - RxFuncquery

If RxFuncQuery("SysSetFileDateTime") = 1 Then
  Say "Your REXXUTIL.DLL is not at the current level"