REXX Utility Functions: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{|class="wikitable" | {|class="wikitable" | ||
!Function||OS/2||Windows||UNIX||Remarks | !Function||OS/2||Windows||UNIX|| ||Remarks | ||
|- | |- | ||
|SysAddFileHandle||Y||Y|| || | |SysAddFileHandle||Y||Y|| ||Adds to the number of file handles available to the current process.|| | ||
|- | |- | ||
|SysAddRexxMacro||Y||Y||Y|| | |SysAddRexxMacro||Y||Y||Y||Adds a routine to the REXX macrospace.|| | ||
|- | |- | ||
|SysBootDrive||Y||Y|| || | |SysBootDrive||Y||Y|| ||Returns the drive used to boot the operating system.|| | ||
|- | |- | ||
|SysClearRexxMacroSpace||Y||Y||Y|| | |SysClearRexxMacroSpace||Y||Y||Y||Clears the REXX macrospace.|| | ||
|- | |- | ||
|SysCloseEventSem||Y||Y||Y|| | |SysCloseEventSem||Y||Y||Y||Closes an event semaphore.|| | ||
|- | |- | ||
|SysCloseMutexSem||Y||Y||Y|| | |SysCloseMutexSem||Y||Y||Y||Closes a mutex semaphore.|| | ||
|- | |- | ||
|SysCls||Y||Y||Y|| | |SysCls||Y||Y||Y||Clears the screen quickly.|| | ||
|- | |- | ||
|SysCopyObject||Y|| || || | |SysCopyObject||Y|| || ||Copies an existing Workplace Shell object to the specified destination folder.|| | ||
|- | |- | ||
|SysCreateEventSem||Y||Y||Y|| | |SysCreateEventSem||Y||Y||Y||Creates or opens an event semaphore.|| | ||
|- | |- | ||
|SysCreateMutexSem||Y||Y||Y|| | |SysCreateMutexSem||Y||Y||Y||Creates or opens an OS/2 mutex semaphore.|| | ||
|- | |- | ||
|SysCreateObject||Y|| || || | |SysCreateObject||Y|| || ||Creates a new instance of an object class.|| | ||
|- | |- | ||
|SysCreatePipe|| || ||Y|| | |SysCreatePipe|| || ||Y|| || | ||
|- | |- | ||
|SysCreateShadow||Y|| || || | |SysCreateShadow||Y|| || ||Shadows an existing Workplace Shell object to the specified destination folder.|| | ||
|- | |- | ||
|SysCurPos||Y||Y|| | |SysCurPos||Y||Y|| ||Returns the cursor position and optionally moves the cursor to a new location.|| | ||
|- | |- | ||
|SysCurState||Y||Y|| | |SysCurState||Y||Y|| ||Hides or displays the cursor.|| | ||
|- | |- | ||
|SysDeregisterObjectClass||Y|| || || | |SysDeregisterObjectClass||Y|| || ||Deregisters an object class definition from the system.|| | ||
|- | |- | ||
|SysDestroyObject||Y|| || || | |SysDestroyObject||Y|| || ||Destroys an existing Workplace Shell object.|| | ||
|- | |- | ||
|SysDriveInfo||Y||Y|| | |SysDriveInfo||Y||Y|| ||Returns drive information.|| | ||
|- | |- | ||
|SysDriveMap||Y||Y|| | |SysDriveMap||Y||Y|| ||Returns a string listing accessible drives (separated by blanks).|| | ||
|- | |- | ||
|SysDropFuncs||Y||Y||Y|| | |SysDropFuncs||Y||Y||Y||Drops all RexxUtil functions.|| | ||
|- | |- | ||
|SysDropLibrary||Y||Y|| || | |SysDropLibrary||Y||Y|| || || | ||
|- | |- | ||
|SysDropRexxMacro||Y||Y||Y|| | |SysDropRexxMacro||Y||Y||Y||Removes a routine from the REXX macrospace.|| | ||
|- | |- | ||
|SysDumpVariables||Y||Y||Y|| | |SysDumpVariables||Y||Y||Y|| | ||
|- | |- | ||
|SysElapsedTime||Y|| || || | |SysElapsedTime||Y|| || ||Returns a time in the format: sssssssss.uuuuuu.|| | ||
|- | |- | ||
|SysFileDelete||Y||Y||Y|| | |SysFileDelete||Y||Y||Y||Deletes a file.|| | ||
|- | |- | ||
|SysFileSearch||Y||Y||Y|| | |SysFileSearch||Y||Y||Y||Finds all file lines containing the target string.|| | ||
|- | |- | ||
|SysFileSystemType||Y||Y|| || | |SysFileSystemType||Y||Y|| ||Returns the name of the file system used for a drive.|| | ||
|- | |- | ||
|SysFileTree||Y||Y||Y*|| | |SysFileTree||Y||Y||Y*||Finds all files that match a file specification.|| | ||
|- | |- | ||
| | |SysFork|| || ||Y|| || | ||
|- | |- | ||
| | |SysFromUnicode|| ||Y|| || || | ||
|- | |- | ||
| | |SysGetCollate||Y||Y|| ||Retrieves the country-specific collating table.|| | ||
|- | |- | ||
| | |SysGetEA||Y|| || ||Retrieves a file's extended attribute and stores its value in variable.|| | ||
|- | |- | ||
| | |SysGetErrortext|| ||Y||Y**|| || | ||
|- | |- | ||
| | |SysGetFileDateTime||Y||Y||Y|| || | ||
|- | |- | ||
| | |SysGetKey||Y||Y||Y||Reads and returns the next key from the keyboard buffer.|| | ||
|- | |- | ||
| | |SysGetMessage||Y||Y|| ||Retrieves a message from an operating system message file.|| | ||
|- | |- | ||
| | |SysGetMessageX|| || ||Y|| || | ||
|- | |- | ||
| | |SysGetpid|| || ||Y+|| ||use SysQueryProcess instead | ||
|- | |- | ||
| | |SysIni||Y||Y|| ||Allows limited access to INI file variables.|| | ||
|- | |- | ||
| | |SysLoadFuncs||Y||Y||Y||Loads all RexxUtil functions.|| | ||
|- | |- | ||
| | |SysLoadLibrary||Y||Y|| || || | ||
|- | |- | ||
| | |SysLoadRexxMacroSpace||Y||Y||Y||Loads functions from a saved macrospace file.|| | ||
|- | |- | ||
| | |SysLinVer|| || ||Y++|| ||use SysVersion instead | ||
|- | |- | ||
|SysMapCase||Y||Y|| || | |SysMapCase||Y||Y|| ||Performs a national language uppercase mapping to a string.|| | ||
|- | |- | ||
|SysMkDir||Y||Y||Y|| | |SysMkDir||Y||Y||Y||Creates a specified directory quickly.|| | ||
|- | |- | ||
|SysMoveObject||Y|| || || | |SysMoveObject||Y|| || ||Moves an existing Workplace Shell object to the specified destination folder.|| | ||
|- | |- | ||
|SysNationalLanguageCompare||Y||Y|| || | |SysNationalLanguageCompare||Y||Y|| ||Compares two character strings using a country-specific collating table.|| | ||
|- | |- | ||
|SysOpenEventSem||Y||Y||Y|| | |SysOpenEventSem||Y||Y||Y||Opens an event semaphore.|| | ||
|- | |- | ||
|SysOpenMutexSem||Y||Y||Y|| | |SysOpenMutexSem||Y||Y||Y||Opens an mutex semaphore.|| | ||
|- | |- | ||
|SysOpenObject||Y|| || || | |SysOpenObject||Y|| || ||Opens a view of an existing Workplace Shell object.|| | ||
|- | |- | ||
| | |SysOS2Ver||Y|| || ||Returns a string specifying the OS/2 operating system version information.||use SysVersion instead | ||
|- | |- | ||
| | |SysPostEventSem||Y||Y||Y||Posts an event semaphore.|| | ||
|- | |||
|SysProcessType||Y||Y|| ||Returns the type of process in which the REXX program is running.|| | |||
|- | |- | ||
|SysPulseEventSem||Y||Y|| || | |SysPulseEventSem||Y||Y|| || | ||
|- | |- | ||
|SysPutEA||Y|| || || | |SysPutEA||Y|| || ||Writes a named extended attribute to a file.|| | ||
|- | |- | ||
|SysQueryClassList||Y|| || || | |SysQueryClassList||Y|| || ||Retrieves the complete list of registered object classes.|| | ||
|- | |- | ||
|SysQueryEAList||Y|| || || | |SysQueryEAList||Y|| || ||Retrieves the complete list of extended attribute names.|| | ||
|- | |- | ||
|SysQueryExtLIBPATH||Y|| || || | |SysQueryExtLIBPATH||Y|| || || | ||
|- | |- | ||
|SysQueryProcess||Y||Y||Y*|| | |SysQueryProcess||Y||Y||Y*|| || | ||
|- | |- | ||
|SysQueryProcessCodePage||Y||Y|| || | |SysQueryProcessCodePage||Y||Y|| ||Queries the current code page for the process.|| | ||
|- | |- | ||
|SysQueryRexxMacro||Y||Y||Y|| | |SysQueryRexxMacro||Y||Y||Y||Queries the existence of a macrospace function.|| | ||
|- | |- | ||
|SysQuerySwitchList||Y|| || || | |SysQuerySwitchList||Y|| || || || | ||
|- | |- | ||
|SysRegisterObjectClass||Y|| || || | |SysRegisterObjectClass||Y|| || ||Registers a new object class definition.|| | ||
|- | |- | ||
|SysReleaseMutexSem||Y||Y||Y|| | |SysReleaseMutexSem||Y||Y||Y||Releases a mutex semaphore.|| | ||
|- | |- | ||
|SysReorderRexxMacro||Y||Y||Y|| | |SysReorderRexxMacro||Y||Y||Y||Reorders a routine loaded in the REXX macrospace.|| | ||
|- | |- | ||
|SysRequestMutexSem||Y||Y||Y|| | |SysRequestMutexSem||Y||Y||Y||Requests a mutex semaphore.|| | ||
|- | |- | ||
|SysResetEventSem||Y||Y||Y|| | |SysResetEventSem||Y||Y||Y||Resets an event semaphore.|| | ||
|- | |- | ||
|SysRmDir||Y||Y||Y|| | |SysRmDir||Y||Y||Y||Deletes a specified file directory quickly.|| | ||
|- | |- | ||
|SysSaveObject||Y|| || || | |SysSaveObject||Y|| || ||Saves an existing Workplace Shell object.|| | ||
|- | |- | ||
|SysSaveRexxMacroSpace||Y||Y||Y|| | |SysSaveRexxMacroSpace||Y||Y||Y||Saves the REXX macrospace.|| | ||
|- | |- | ||
|SysSearchPath||Y||Y||Y|| | |SysSearchPath||Y||Y||Y||Searches the specified file path for the specified file.|| | ||
|- | |- | ||
|SysSetExtLIBPATH||Y|| || || | |SysSetExtLIBPATH||Y|| || || | ||
Line 148: | Line 150: | ||
|SysSetFileDateTime||Y||Y||Y|| | |SysSetFileDateTime||Y||Y||Y|| | ||
|- | |- | ||
|SysSetFileHandle||Y|| || || | |SysSetFileHandle||Y|| || ||Sets the number of file handles available to the current process.|| | ||
|- | |- | ||
|SysSetIcon||Y|| || || | |SysSetIcon||Y|| || ||Associates an icon file with a specified file.|| | ||
|- | |- | ||
|SysSetObjectData||Y|| || || | |SysSetObjectData||Y|| || ||Changes the settings of an existing object.|| | ||
|- | |- | ||
|SysSetPriority||Y||Y|| || | |SysSetPriority||Y||Y|| ||Changes the priority of the current process.|| | ||
|- | |- | ||
|SysSetProcessCodePage||Y||Y|| || | |SysSetProcessCodePage||Y||Y|| ||Changes the current code page for the process.|| | ||
|- | |- | ||
|SysShutDownSystem||Y||Y|| || | |SysShutDownSystem||Y||Y|| ||Shuts down the operating system.|| | ||
|- | |- | ||
|SysSleep||Y||Y||Y|| | |SysSleep||Y||Y||Y||Pauses a REXX program for a specified time interval.|| | ||
|- | |- | ||
|SysStemCopy||Y||Y||Y|| | |SysStemCopy||Y||Y||Y|| | ||
Line 174: | Line 176: | ||
|SysSystemDirectory||Y|| || || | |SysSystemDirectory||Y|| || || | ||
|- | |- | ||
|SysTempFileName||Y||Y||Y|| | |SysTempFileName||Y||Y||Y||Returns a unique file or directory name for a file or directory that does not currently exist.|| | ||
|- | |||
|SysTextScreenRead||Y||Y|| ||Reads characters from a specified screen location.|| | |||
|- | |- | ||
| | |SysTextScreenSize||Y||Y|| ||Returns the size of the screen.|| | ||
|- | |- | ||
| | |SysToUnicode|| ||Y|| || || | ||
|- | |- | ||
|SysUtilVersion||Y||Y||Y|| | |SysUtilVersion||Y||Y||Y|| | ||
Line 186: | Line 190: | ||
|SysVolumeLabel||Y||Y|| || | |SysVolumeLabel||Y||Y|| || | ||
|- | |- | ||
|SysWait|| || ||Y | |SysWait|| || ||Y|| || | ||
|- | |- | ||
| | |SysWaitEventSem||Y||Y||Y||Waits on an event semaphore.|| | ||
|- | |- | ||
| | |SysWaitForShell||Y|| || ||Wait for a specific initialization event of the Workplace Shell.|| | ||
|- | |- | ||
| | |SysWaitNamedPipe||Y||Y|| ||Performs a timed wait on a named pipe.|| | ||
|- | |- | ||
|SysWildCard||Y||Y|| || | |SysWildCard||Y||Y|| ||Produces an edited file name using a source file name and a wild card editing pattern.|| | ||
|- | |- | ||
| | |SysWinDecryptFile|| ||Y|| || || | ||
|- | |- | ||
| | |SysWinEncryptFile|| ||Y|| || || | ||
|- | |- | ||
| | |SysWinVer|| ||Y|| || ||use SysVersion instead | ||
|} | |} |
Revision as of 16:26, 27 December 2020
REXX Utility Functions
Function | OS/2 | Windows | UNIX | Remarks | |
---|---|---|---|---|---|
SysAddFileHandle | Y | Y | Adds to the number of file handles available to the current process. | ||
SysAddRexxMacro | Y | Y | Y | Adds a routine to the REXX macrospace. | |
SysBootDrive | Y | Y | Returns the drive used to boot the operating system. | ||
SysClearRexxMacroSpace | Y | Y | Y | Clears the REXX macrospace. | |
SysCloseEventSem | Y | Y | Y | Closes an event semaphore. | |
SysCloseMutexSem | Y | Y | Y | Closes a mutex semaphore. | |
SysCls | Y | Y | Y | Clears the screen quickly. | |
SysCopyObject | Y | Copies an existing Workplace Shell object to the specified destination folder. | |||
SysCreateEventSem | Y | Y | Y | Creates or opens an event semaphore. | |
SysCreateMutexSem | Y | Y | Y | Creates or opens an OS/2 mutex semaphore. | |
SysCreateObject | Y | Creates a new instance of an object class. | |||
SysCreatePipe | Y | ||||
SysCreateShadow | Y | Shadows an existing Workplace Shell object to the specified destination folder. | |||
SysCurPos | Y | Y | Returns the cursor position and optionally moves the cursor to a new location. | ||
SysCurState | Y | Y | Hides or displays the cursor. | ||
SysDeregisterObjectClass | Y | Deregisters an object class definition from the system. | |||
SysDestroyObject | Y | Destroys an existing Workplace Shell object. | |||
SysDriveInfo | Y | Y | Returns drive information. | ||
SysDriveMap | Y | Y | Returns a string listing accessible drives (separated by blanks). | ||
SysDropFuncs | Y | Y | Y | Drops all RexxUtil functions. | |
SysDropLibrary | Y | Y | |||
SysDropRexxMacro | Y | Y | Y | Removes a routine from the REXX macrospace. | |
SysDumpVariables | Y | Y | Y | ||
SysElapsedTime | Y | Returns a time in the format: sssssssss.uuuuuu. | |||
SysFileDelete | Y | Y | Y | Deletes a file. | |
SysFileSearch | Y | Y | Y | Finds all file lines containing the target string. | |
SysFileSystemType | Y | Y | Returns the name of the file system used for a drive. | ||
SysFileTree | Y | Y | Y* | Finds all files that match a file specification. | |
SysFork | Y | ||||
SysFromUnicode | Y | ||||
SysGetCollate | Y | Y | Retrieves the country-specific collating table. | ||
SysGetEA | Y | Retrieves a file's extended attribute and stores its value in variable. | |||
SysGetErrortext | Y | Y** | |||
SysGetFileDateTime | Y | Y | Y | ||
SysGetKey | Y | Y | Y | Reads and returns the next key from the keyboard buffer. | |
SysGetMessage | Y | Y | Retrieves a message from an operating system message file. | ||
SysGetMessageX | Y | ||||
SysGetpid | Y+ | use SysQueryProcess instead | |||
SysIni | Y | Y | Allows limited access to INI file variables. | ||
SysLoadFuncs | Y | Y | Y | Loads all RexxUtil functions. | |
SysLoadLibrary | Y | Y | |||
SysLoadRexxMacroSpace | Y | Y | Y | Loads functions from a saved macrospace file. | |
SysLinVer | Y++ | use SysVersion instead | |||
SysMapCase | Y | Y | Performs a national language uppercase mapping to a string. | ||
SysMkDir | Y | Y | Y | Creates a specified directory quickly. | |
SysMoveObject | Y | Moves an existing Workplace Shell object to the specified destination folder. | |||
SysNationalLanguageCompare | Y | Y | Compares two character strings using a country-specific collating table. | ||
SysOpenEventSem | Y | Y | Y | Opens an event semaphore. | |
SysOpenMutexSem | Y | Y | Y | Opens an mutex semaphore. | |
SysOpenObject | Y | Opens a view of an existing Workplace Shell object. | |||
SysOS2Ver | Y | Returns a string specifying the OS/2 operating system version information. | use SysVersion instead | ||
SysPostEventSem | Y | Y | Y | Posts an event semaphore. | |
SysProcessType | Y | Y | Returns the type of process in which the REXX program is running. | ||
SysPulseEventSem | Y | Y | |||
SysPutEA | Y | Writes a named extended attribute to a file. | |||
SysQueryClassList | Y | Retrieves the complete list of registered object classes. | |||
SysQueryEAList | Y | Retrieves the complete list of extended attribute names. | |||
SysQueryExtLIBPATH | Y | ||||
SysQueryProcess | Y | Y | Y* | ||
SysQueryProcessCodePage | Y | Y | Queries the current code page for the process. | ||
SysQueryRexxMacro | Y | Y | Y | Queries the existence of a macrospace function. | |
SysQuerySwitchList | Y | ||||
SysRegisterObjectClass | Y | Registers a new object class definition. | |||
SysReleaseMutexSem | Y | Y | Y | Releases a mutex semaphore. | |
SysReorderRexxMacro | Y | Y | Y | Reorders a routine loaded in the REXX macrospace. | |
SysRequestMutexSem | Y | Y | Y | Requests a mutex semaphore. | |
SysResetEventSem | Y | Y | Y | Resets an event semaphore. | |
SysRmDir | Y | Y | Y | Deletes a specified file directory quickly. | |
SysSaveObject | Y | Saves an existing Workplace Shell object. | |||
SysSaveRexxMacroSpace | Y | Y | Y | Saves the REXX macrospace. | |
SysSearchPath | Y | Y | Y | Searches the specified file path for the specified file. | |
SysSetExtLIBPATH | Y | ||||
SysSetFileDateTime | Y | Y | Y | ||
SysSetFileHandle | Y | Sets the number of file handles available to the current process. | |||
SysSetIcon | Y | Associates an icon file with a specified file. | |||
SysSetObjectData | Y | Changes the settings of an existing object. | |||
SysSetPriority | Y | Y | Changes the priority of the current process. | ||
SysSetProcessCodePage | Y | Y | Changes the current code page for the process. | ||
SysShutDownSystem | Y | Y | Shuts down the operating system. | ||
SysSleep | Y | Y | Y | Pauses a REXX program for a specified time interval. | |
SysStemCopy | Y | Y | Y | ||
SysStemDelete | Y | Y | Y | ||
SysStemInsert | Y | Y | Y | ||
SysStemSort | Y | Y | Y | ||
SysSwitchSession | Y | Y | |||
SysSystemDirectory | Y | ||||
SysTempFileName | Y | Y | Y | Returns a unique file or directory name for a file or directory that does not currently exist. | |
SysTextScreenRead | Y | Y | Reads characters from a specified screen location. | ||
SysTextScreenSize | Y | Y | Returns the size of the screen. | ||
SysToUnicode | Y | ||||
SysUtilVersion | Y | Y | Y | ||
SysVersion | Y | Y | Y | ||
SysVolumeLabel | Y | Y | |||
SysWait | Y | ||||
SysWaitEventSem | Y | Y | Y | Waits on an event semaphore. | |
SysWaitForShell | Y | Wait for a specific initialization event of the Workplace Shell. | |||
SysWaitNamedPipe | Y | Y | Performs a timed wait on a named pipe. | ||
SysWildCard | Y | Y | Produces an edited file name using a source file name and a wild card editing pattern. | ||
SysWinDecryptFile | Y | ||||
SysWinEncryptFile | Y | ||||
SysWinVer | Y | use SysVersion instead |