Chapter 8. Rexx Utilities (RexxUtil)

Table of Contents
List of Rexx Utility Functions
RxMessageBox (Windows only)
RxWinExec (Windows only)
SysAddRexxMacro
SysBootDrive (Windows only)
SysClearRexxMacroSpace
SysCloseEventSem
SysCloseMutexSem
SysCls
SysCreateEventSem
SysCreateMutexSem
SysCreatePipe (AIX only)
SysCurPos (Windows only)
SysCurState (Windows only)
SysDriveInfo (Windows only)
SysDriveMap (Windows only)
SysDropFuncs
SysDropRexxMacro
SysDumpVariables
SysFileCopy (Windows only)
SysFileDelete
SysFileMove (Windows only)
SysFileSearch
SysFileSystemType (Windows only)
SysFileTree
SysFork (Linux, AIX, Solaris only)
SysFromUnicode (Windows only)
SysGetErrortext
SysGetFileDateTime
SysGetKey
SysGetMessage
SysGetMessageX (Unix only)
SysIni (Windows only)
SysIsFile
SysIsFileCompressed (Windows only)
SysIsFileDirectory
SysIsFileEncrypted (Windows only)
SysIsFileLink
SysIsFileNotContentIndexed (Windows only)
SysIsFileOffline (Windows only)
SysIsFileSparse (Windows only)
SysIsFileTemporary (Windows only)
SysLoadFuncs
SysLoadRexxMacroSpace
SysMkDir
SysOpenEventSem
SysOpenMutexSem
SysPostEventSem
SysPulseEventSem (Windows only)
SysQueryProcess
SysQueryRexxMacro
SysReleaseMutexSem
SysReorderRexxMacro
SysRequestMutexSem
SysResetEventSem
SysRmDir
SysSaveRexxMacroSpace
SysSearchPath
SysSetFileDateTime
SysSetPriority
SysShutdownSystem (Windows only)
SysSleep
SysStemCopy
SysStemDelete
SysStemInsert
SysStemSort
SysSwitchSession (Windows only)
SysSystemDirectory (Windows only)
SysTempFileName
SysTextScreenRead (Windows only)
SysTextScreenSize (Windows only)
SysToUnicode (Windows only)
SysUtilVersion
SysVersion
SysWait (AIX only)
SysWaitEventSem
SysWaitNamedPipe (Windows only)
SysWinDecryptFile (Windows only)
SysWinEncryptFile (Windows only)
SysWinGetDefaultPrinter (Windows only)
SysWinGetPrinters (Windows only)
SysWinSetDefaultPrinter (Windows only)
SysWinVer Windows only)

RexxUtil is a Dynamic Link Library (DLL) package for Windows and *nix platforms; the package contains external Rexx functions. These functions:

All of the RexxUtil functions are registered by the ooRexx interpreter on startup so there is no need to register the functions either individually or via the SysLoadFuncs function.

List of Rexx Utility Functions

The following table lists all of the REXXUTIL functions and the platforms on which they are available.

Table 8-1. Rexx Utility Library Functions

Function NameExists on PlatformRemarks
WindowsUnix
SysAddRexxMacroYESYES 
SysBootDriveYESNO 
SysClearRexxMacroSpaceYESYES 
SysCloseEventSemYESYES 
SysCloseMutexSemYESYES 
SysClsYESYES 
SysCreateEventSemYESYES 
SysCreateMutexSemYESYES 
SysCreatePipeYESYESAIX only
SysCurPosYESNO 
SysCurStateYESNO 
SysDriveInfoYESNO 
SysDriveMapYESNO 
SysDropFuncsYESYES 
SysDumpVariablesYESYES 
SysFileCopyYESNO 
SysFileDeleteYESYES 
SysFileMoveYESNO 
SysFileSearchYESYES 
SysFileSystemTypeYESNO 
SysFileTreeYESYESWorks differently
SysForkNOYES*nix environments only
SysFromUnicodeYESNO 
SysGetErrortextYESYES 
SysGetFileDateTimeYESYES 
SysGetKeyYESYES 
SysGetMessageYESYES 
SysGetMessageXNOYES 
SysIniYESNO 
SysIsFileYESYES 
SysIsFileCompressedYESNO 
SysIsFileDirectoryYESYES 
SysIsFileEncryptedYESNO 
SysIsFileLinkYESYES 
SysIsFileNotContentIndexedYESNO 
SysIsFileOfflineYESNO 
SysIsFileSparseYESNO 
SysIsFileTemporaryYESNO 
SysLoadFuncsYESYES 
SysLoadRexxMacroSpaceYESYES 
SysMkDirYESYES 
SysOpenEventSemYESYES 
SysOpenMutexSemYESYES 
SysPostEventSemYESYES 
SysPulseEventSemYESNO 
SysQueryProcessYESYESWorks differently
SysQueryRexxMacroYESYES 
SysReleaseMutexSemYESYES 
SysReorderRexxMacroYESYES 
SysRequestMutexSemYESYES 
SysResetEventSemYESYES 
SysRmDirYESYES 
SysSearchPathYESYES 
SysSetFileDateTimeYESYES 
SysSetPriorityYESNO 
SysShutdownSystemYESNO 
SysSleepYESYES 
SysStemCopyYESYES 
SysStemDeleteYESYES 
SysStemInsertYESYES 
SysStemSortYESYES 
SysSwitchSessionYESNO 
SysTempFileNameYESYES 
SysTextScreenReadYESNO 
SysTextScreenSizeYESNO 
SysToUnicodeYESNO 
SysUtilVersionYESYES 
SysVersionYESYES 
SysVolumeLableYESNO 
SysWaitYESYESAIX only
SysWaitEventSemYESYES 
SysWaitNamedPipeYESNO 
SysWinDecryptFileYESNO 
SysWinEncryptFileYESNO 
SysWinVerYESNO 
SysWinGetPrintersYESNO 
SysWinGetDefaultPrinterYESNO 
SysWinSetDefaultPrinterYESNO