home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-07-07 | 32.1 KB | 1,079 lines |
- OS/2 REXX is a powerful tool which can be used to produce applications, macros
- and prototypes. The language is made flexible and extendable by providing
- Application Programming Interfaces (APIs) which allow REXX to interface with the
- developers's application. These interfaces are usually developed using a
- language like C and thus require the developer to be proficient in that language.
-
- One viable solution to this problem exists with the GammaTech REXX SuperSet/2,
- a set of external library functions for REXX which the REXX developer uses to
- interface to a variety of products, including IBM LAN Server, TCP/IP, NetBIOS,
- Communications Manager, and others. The SuperSet/2 also provides the ability
- to access low level facilities such as processes, threads, semaphores, named
- pipes, VIO commands, and others.
-
- The GammaTech REXX SuperSet/2 has over 300 REXX external functions in
- seven Dynamic Link Libraries (DLLs), which are full 32 bit implementations. The
- libraries are divided by product and interface type, as follows, so the developer
- only needs to load the functions actually used.
-
- The seven libraries are:
-
- GRXHLAPI Communications Manager Interface
- GRXHOST Miscellaneous Host Utilities
- GRXLSNET LAN Server Interface
- GRXNETB NetBIOS Interface
- GRXTCPIP TCP/IP Interface
- GRXUPM User Profile Management Interface
- GRXUTILS General OS/2 Utilities
-
- Following is a short description of each function of the GammaTech REXX
- SuperSet/2 by library.
-
- Ordering information for the GammaTech REXX SuperSet/2 is contained in the
- GRXORD.TXT file in library 1 (Other Vendors) of the OS2AVEN forum, or by
- contacting:
-
- SofTouch Systems
- 1300 S. Meridian Suite 600
- Oklahoma City, OK 73108
- Phone: (405) 947-8080
- FAX: (405) 632-6537
-
- If you have any questions, please contact us at the above address, leave a
- message in the OS2AVEN forum Other Vendors section, or e-mail to the
- following CompuServe addresses:
-
- Sales & Marketing:
- Felix Cruz 72274,3102
-
- Technical Support:
- Mike Norton 75047,2647
-
-
-
- ************* GRXHLAPI (EHLLAPI) Communications Manager Interface ***********
-
- The GRXHLAPI.DLL provides the REXX programmer with an interface to the
- IBM Extended Services Communications Manager or the IBM Communications
- Manager/2 emulator sessions. Full EHLLAPI functionality (with the exception of
- asynchronous functions) is provided.
-
- Change_Switch_Name (Service 105) Changes the presentation space switchlist
- name to the specified new name.
-
- Change_Window_Name (Service 106) Changes the presentation space window
- name to the specified new name.
-
- Connect_PM_Srvcs (Service 101) Connects the application to a presentation
- space for only the EHLLAPI Presentation
- Manager services.
-
- Connect_PS (Service 1) Connects the program to a logical
- Communications Manager session.
-
- Convert_Position (Service 99) Converts position to row/column.
-
- Convert_RowCol (Service 99) Converts row/column info in the session
- to presentation space position.
-
- Copy_Field_To_Str (Service 34) Copies the field data located in the
- connected presentation space.
-
- Copy_Oia (Service 13) Returns the Operator Information Area from
- the connected session.
-
- Copy_PS (Service 5) Return the entire contents of the currently
- connected session.
-
- Copy_PS_To_Str (Service 8) Returns data from the curently connected
- session.
-
- Copy_Str_to_Field (Service 33) Copies string to the field in the connected
- session.
-
- Copy_Str_to_PS (Service 15) Copies string to pos position in the
- connected session.
-
- Disconnect_PM_Srvcs (Service 102) Disconnects the Presentation Manager
- window services connection.
-
- Disconnect_PS (Service 2) Disconnects from the currently connected
- presentation space session.
-
- Find_Field_Len (Service 32) Returns the length of the field with
- attributes
-
- Find_Field_Pos (Service 31) Returns the position of the field with
- attributes.
-
- Get_key (Service 51) Return the next intercepted keystroke
- from the session specified.
-
- Get_GrxHLLAPI_Ver Returns the version of the GRXHLAPI.DLL
- which is currently running.
-
- Lock_PM_Srvcs (Service 61) Locks the presentation space window so
- that the EHLLAPI application has exclusive
- control over the window.
-
- Lock_PS (Service 60) Locks the presentation space so that the
- EHLLAPI application has exclusive control
- over the presentation space.
-
- Pause (Service 18) Causes a timed pause of n 1/2 second
- intervals to occur.
-
- PM_Window_Status (Service 104) Allows an application to query or change a
- PS window size, location, or visible state.
-
- Post_Intercept_Status (Service 52) Informs EHLLAPI that a keystroke obtained
- through the Get_Key service was accepted
- or rejected.
-
- Query_Close_Intercept (Service 42) Allows the application to determine if the
- CLOSE option on the emulator session pull-
- down menu was selected.
-
- Query_Cursor_Loc (Service 7) Returns the cursor position in the currently
- connected session or '0' if not connected
- to a session.
-
- Query_Field_Attr (Service 14) Returns the text representation of the
- attribute of the field in the currently
- connected session.
-
- Query_Host_Update (Service 24) Determines if the host has updated the
- presentation space, OIA or both.
-
- Query_Session_Status (Service 22) Returns session status information.
-
- Query_sessions (Service 10) Returns 12 bytes for each configured session.
-
- Query_system (Service 20) Returns system configuration string.
-
- Query_Window_Coords (Service 103) Returns the presentation space window
- coordinates.
-
- Receive_File (Service 91) Executes the 'RECEIVE.EXE' program as if
- it had been entered at the command line.
-
- Release (Service 12) Unlock the connected display session
- keyboard for user use.
-
- Reserve (Service 11) Locks the keyboard of the currently
- connected session until either a Release
- or a Disconnect_PS is done.
-
- Reset_System (Service 21) Resets the system parameters (set with
- Set_session_parms service) to their
- default state.
-
- Search_Field (Service 30) Search the currently connected session's
- presentation space for a field containing
- a string, starting at position pos.
-
- Search_PS (Service 6) Search the currently connect session's
- presentation space for a string.
-
- Send_File (Service 90) Executes the 'SEND.EXE' program as if it
- had been entered at the command line.
-
- Sendkey (Service 3) Send the keys as defined by the contents of
- string. Up to total of 255 keys may be
- sent at a single time.
-
- Set_Cursor (Service 40) Positions the cursor at position pos in the
- currently connected session.
-
- Set_Session_Parms (Service 9) Sets the current session parameters from
- string.
-
- Start_Close_Intercept (Service 41) Allows the application to intercept close
- requests when the user selects the close
- option from the presentation space's
- window.
-
- Start_Host_Notify (Service 23) Starts trapping of host session screen
- update events.
-
- Start_Key_Intercept (Service 50) All keystrokes to the session specified will
- be buffered for processing.
-
- Stop_Close_Intercept (Service 43) Ends trapping of host session close
- requests.
-
- Stop_Host_Notify (Service 25) Ends trapping of host session screen
- update events started by a preceding
- Start_Host_Notify service.
-
- Stop_Key_Intercept (Service 53) Ends trapping of keystrokes started by a
- preceding Start_Key_Interecpt
- service.
-
- Wait (Service 4) Will check the status of the currently
- connected session.
-
-
-
- ****************** GRXHOST (Miscellaneous Host Utilities) *************************
-
- The GRXHOST.DLL provides the REXX programmer with a set of functions
- which are available on most MVS and VM systems but are missing from the
- OS/2 REXX environment.
-
- ExecIO The EXECIO command performs the
- specified file input/output operation.
-
- HI - Halt Interpretation The HI command halts interpretation
- of the current REXX exec.
-
- TE - Trace End Terminate tracing.
-
- TS - Trace Start Initiate tracing.
-
-
-
-
- ************************ GRXLSNET (LAN Server Interface) ************************
-
- The GRXLSNET.DLL provides the REXX programmer with an interface to most
- of the IBM LAN Server version 2.0 and 3.0 APIs.
-
-
- Miscellaneous Functions
-
- GrxLSNetDropFuncs Drop (deregister) all of the GRXLSNET
- functions.
-
- GrxLSNetLoadFuncs Load (register) all of the GRXLSNET
- functions.
-
- GrxLSNetVersion Returns the version of the
- GRXLSNET.DLL which is currently
- running.
-
- Protection Functions
-
- GrxNetAccessAdd Adds access permissions for a server
- resource.
-
- GrxNetAccessCheck Checks that a user has permission to
- access a resource.
-
- GrxNetAccessDel Deletes all access permissions for the
- specified resource.
-
- GrxNetAccessEnum Enumerates the list of access permissions
- from a base path.
-
- GrxNetAccessGetInfo Returns the access information for a base
- path.
-
- GrxNetAccessGetUserPerms Returns the access information for a base
- path.
-
- GrxNetAccessSetInfo Sets the access information for a base
- path.
-
- GrxNetGetDCName Returns the name of the domain controller
- for a domain.
-
- GrxNetGroupAdd Adds a new group to the domain user
- accounts database.
-
- GrxNetGroupAddUser Adds a new user to the specified group.
-
- GrxNetGroupDel Deletes a group name from the domain
- database.
-
- GrxNetGroupDelUser Deletes a user from a group in the domain
- database.
-
- GrxNetGroupEnum Enumerates the list of groups in the
- database.
-
- GrxNetGroupGetUsers Returns the list of users in a group.
-
- GrxNetGroupSetUsers Replaces the list of users in a group.
-
- GrxNetLogonEnum Enumerates the list of logged on users
- in the domain database.
-
- GrxNetUserAdd Adds a new user domain user accounts
- database.
-
- GrxNetUserDel Deletes a user from the domain user
- accounts database.
-
- GrxNetUserEnum Enumerates the list of users in the domain
- database.
-
- GrxNetUserGetGroups Enumerates the list of groups in which a
- user is a member.
-
- GrxNetUserGetInfo Returns information about a user.
-
- GrxNetUserModalsGet Returns information common to the entire
- domain database.
-
- GrxNetUserModalsSet Changes information common to the entire
- domain database.
-
- GrxNetUserPasswordSet Changes the password for a user account in
- the domain database.
-
- GrxNetUserSetGroups Sets a user's group membership.
-
- GrxNetUserSetInfo Sets information about a user.
-
- GrxNetUserValidate2 Validates a user's password and returns
- some info about the user.
-
-
- Server Administration Functions
-
- These functions provide the programmer with a direct interface to the LAN Server server administration
- programming interfaces.
-
- GrxNetConnectionEnum Enumerates the list of active connections.
-
- GrxNetFileClose2 Closes a file at a remote server.
-
- GrxNetFileEnum2 Enumerates the list of open files at a
- remote server.
-
- GrxNetFileGetInfo2 Returns information about an open file at
- a remote server.
-
- GrxNetServerAdminCommand Returns the return code and any return
- data from the execution of the command.
-
- GrxNetServerDiskEnum Enumerates the list of available disk drives
- at a server.
-
- GrxNetServerEnum2 Enumerates the list of available servers.
-
- GrxNetServerGetInfo Returns information about a specific
- server.
-
- GrxNetServerSetInfo Sets information about a specific server.
-
- GrxNetSessionDel Deletes a session between a server and a
- workstation.
-
- GrxNetSessionEnum Enumerates the list of active sessions.
-
- GrxNetSessionGetInfo Enumerates the list of active sessions.
-
- GrxNetShareAdd Shares a resource at the specified server.
-
- GrxNetShareCheck Determines if a device is currently being
- shared.
-
- GrxNetShareDel Deletes an active share.
-
- GrxNetShareEnum Enumerates the list of active shares.
-
- GrxNetShareGetInfo Gets information about a specific share.
-
- GrxNetShareSetInfo Sets information about a specific share.
-
-
- Service and Config Functions
-
- These functions provide the programmer with a direct interface to the LAN Server service and config
- programming interfaces.
-
- GrxNetConfigGet2 Returns the contents of the parameter
- from the specified component of the
- IBMLAN.INI file.
-
- GrxNetConfigGetAll2 Returns all the parameter for a component in
- the IBMLAN.INI file.
-
- GrxNetServiceControl Returns the status of an installed service
- at a specified location.
-
- GrxNetServiceEnum Enumerates the list of active services.
-
- GrxNetServiceGetInfo Returns information about a specific
- service.
-
- GrxNetServiceInstall Starts a specific installed service.
-
-
-
- Workstation Functions
-
- These functions provide the programmer with a direct interface to the LAN Server workstation
- programming interfaces.
-
- GrxNetMessageBufferSend Send a message to a workstation.
-
- GrxNetMessageFileSend Send a file to a workstation.
-
- GrxNetMessageLogFileGet Queries the name of the log file and its
- current state.
-
- GrxNetMessageLogFileSet Sets the name of the log file and its
- current state.
-
- GrxNetMessageNameAdd Adds a new name to the message table.
-
- GrxNetMessageNameDel Deletes a name from the message table.
-
- GrxNetMessageNameEnum Enumerates the list of message names in
- the message table.
-
- GrxNetMessageNameFwd Forwards messages from one workstation
- to another.
-
- GrxNetMessageNameGetInfo Returns information about a specific
- message name in the message table.
-
- GrxNetMessageNameUnFwd Stops forwarding messages from one
- workstation to another.
-
- GrxNetRemoteCopy Copies files from one location to another
- on a remote server.
-
- GrxNetRemoteMove Moves files from one location to another
- on a remote server.
-
- GrxNetRemoteTOD Return the time of day elements from a
- remote server.
-
- GrxNetUseAdd Establishes a connection between a local
- workstation resource name and a server
- shared resource.
-
- GrxNetUseDel Deletes a connection between a local
- workstation resource name and a server
- shared resource.
-
- GrxNetUseEnum Enumerates the list of use names.
-
- GrxNetUseGetInfo Returns information about a use name.
-
- GrxNetWkstaGetInfo Returns information about a workstation.
-
- GrxNetWkstaSetInfo Sets information about a workstation.
-
- GrxNetWkstaSetUID2 Logs a user on/off a domain.
-
-
-
-
- **************************** GRXNETB (NetBIOS) *********************************
-
- The GRXNETB.DLL provides the REXX programmer with an interface to NetBIOS.
-
-
- Add_Group_Name (Service 0x36) Adds a non-unique group name to the
- adapter's NetBIOS name table.
-
- Add_Name (Service 0x30) Adds a NetBIOS name to the adapter's
- NetBIOS name table.
-
- Call (Service 0x10) Opens a session between the remote
- name.
-
- Chain_Send (Service 0x17) Sends data on the specified session lsn.
-
- Chain_Send_No_Ack (Service 0x72) Sends data on the specified session lsn
- without waiting for an acknowlegement.
-
- Delete_Name (Service 0x31) Deletes a name from the adapter's
- NetBIOS name table.
-
- Hangup (Service 0x12) Releases a session.
-
- Listen (Service 0x11) Establishes a session with the name
- specified in the callname argument.
-
- Receive (Service 0x15) Receive data from the specified local
- session number.
-
- Receive_Any (Service 0x16) Receive data from any specified local
- session number.
-
- Receive_Broadcast_Datagram (Service 0x23)
- Receive a broadcast datagram packet
- using the specified NetBIOS name field.
-
- Receive_Datagram (Service 0x21) Receive a datagram packet using the
- specified NetBIOS name field.
-
- Reset_Release (Service 0x32) Resets the specified adapter by releasing
- the specified resources from the NetBIOS
- name table.
-
- Reset_Request (Service 0x32) Resets the specified adapter by requesting
- the specified resources from the NetBIOS
- name table.
-
- Send (Service 0x14) Sends data using a specified local session
- number.
-
- Send_No_Ack (Service 0x71) Sends data using a specified local session
- number without waiting for an
- acknowledgement.
-
- Send_Broadcast_Datagram (Service 0x22)
- Sends a broadcast datagram using the
- name specified.
-
- Send_Datagram (Service 0x20) Sends a datagram using the name to the
- specified remote name.
-
-
-
- ****************************** GRXTCPIP (TCP/IP) ********************************
-
- The GRXTCPIP.DLL provides the REXX programmer with an interface to the
- Sockets and FTP APIs in IBM TCP/IP version 2.0.
-
-
- FTP (File Transfer Protocol) Functions
-
- These functions provide the programmer with a direct interface to the File
- Transfer Protocol (FTP) application programming interfaces.
-
- GrxFtpAppend This function appends information to a file
- on a remote host.
-
- GrxFtpCd This function changes the current working
- directory on a remote host.
-
- GrxFtpDelete This function deletes a file on a remote
- host.
-
- GrxFtpDir This function gets a host directory listing
- in wide format from a remote host.
-
- GrxFtpGet This function gets a file from a remote
- host.
-
- GrxFtpLogoff This function logs off all current host
- connections.
-
- GrxFtpLs This function gets a host directory listing
- in short format from a remote host.
-
- GrxFtpMkd This function makes a directory on a
- remote host.
-
- GrxFtpPing This function resolves a host name and
- sends a ping to the remote host to
- determine if that host is responding.
-
- GrxFtpProxy This function gets a file from a remote
- host.
-
- GrxFtpPut This function puts a file to a remote host.
-
- GrxFtpPutunique This function puts a file to a remote host
- and ensures that it has a unique name
- (i.e. it will not overwrite an existing file).
-
- GrxFtpPwd This function gets the description of the
- remote FTP host and returns in in a REXX
- variable.
-
- GrxFtpQuote This function sends a string to the remote
- host verbatim.
-
- GrxFtpRename This function renames a file on a remote
- host.
-
- GrxFtpRmd This function removes a directory on a
- remote host.
-
- GrxFtpSite This function removes a directory on a
- remote host.
-
- GrxFtpSys This function gets the description of the
- operating system on the remote host.
-
-
- Miscellaneous Functions
-
- GrxTCPIPDropFuncs Drops all of the functions in the
- GRXTCPIP.DLL from REXX.
-
- GrxTCPIPLoadFuncs Registers all of the functions in the
- GRXTCPIP.DLL package to REXX.
-
- GrxTCPIPVersion Returns the version of the GRXTCPIP.DLL
- which is currently running.
-
- GrxTcpPing This function resolves a host name and
- sends a ping to the remote host to
- determine if that host is responding.
-
-
- Socket Functions
-
- GrxSockAccept Accepts a TCP connection request from a
- remote host.
-
- GrxSockBind Binds a local name to a socket.
-
- GrxSockClose Shuts down (closes) a socket.
-
- GrxSockConnect Requests a connection to a remote host.
-
- GrxSockErrno Returns the last error code set by a
- socket function.
-
- GrxSockGethostbyaddr Returns information about a host specified
- by an internet address.
-
- GrxSockGethostbyname Returns information about a host specified
- by a host name.
-
- GrxSockGethostid Returns the unique identifier of the current
- host.
-
- GrxSockGetpeername Returns the name of the peer connected
- to a socket.
-
- GrxSockGetsockname Returns the local socket name.
-
- GrxSockGetsockopt Returns an option associated with a
- socket.
-
- GrxSockIoctl Performs special operations on a socket.
-
- GrxSockListen Bind a socket to an incomming connection
- request.
-
- GrxSockRecv Receive data on a connected socket.
-
- GrxSockSelectNoexecpt Monitors the exception status on a socket.
-
- GrxSockSelectRead Monitors the read status on a socket.
-
- GrxSockSelectWrite Monitors the write status on a socket.
-
- GrxSockSend Send data on a connected socket.
-
- GrxSockSetsockopt Set an option associated with a socket.
-
- GrxSockShutdown Shuts down all or part of a duplex
- connection.
-
- GrxSockSocket Creates a socket (an endpoint) for
- communications.
-
-
-
- ******************** GRXUPM (User Profile Management) ************************
-
- The GRXUPM.DLL provides the REXX programmer with an interface to User Profile
- Management functions.
-
- GrxUPMDropFuncs Drops all of the functions in the
- GRXUPM.DLL from REXX.
-
- GrxUPMEGETP Returns a user ID's profile.
-
- GrxUPMELGFF Logs off a local or remote user ID.
-
- GrxUPMELGN Logon a user for the current process.
-
- GrxUPMELOCL Logon a user locally.
-
- GrxUPMELOCU Returns the user ID and type of the
- current locally logged on user.
-
- GrxUPMEULGF Logs off a local or remote user ID.
-
- GrxUPMEULGN Logon a user to a local or remote
- workstation.
-
- GrxUPMEUSRL Returns the list of logged on users at a
- local or remote node.
-
- GrxUPMLoadFuncs Registers all of the functions in the
- GRXUPM.DLL package
-
- GrxUPMVersion Returns the version of the GRXUPM.DLL
- which is currently running.
-
-
-
- ************************ GRXUTILS (General OS/2 Utilities) **************************
-
- The GRXUTILS.DLL provides the REXX programmer with an interface to many
- low-level and high-level functions for the OS/2 environment. Functions are
- provided for semaphores, file manipulation, advanced math functionality, etc.
-
-
- Date Manipulation Functions
-
- These functions manipulate standard REXX dates.
-
- GrxBaseToDate Converts a string containing a standard
- REXX basedate data type.
-
- GrxDateToBase Converts a string containing a formated
- date to the standard REXX basedate data
- type.
-
-
- File and System Functions
-
- These functions operate on the OS/2 file system or retrieve system information.
-
- GrxAttrib Changes the attributes of the spesified
- file(s).
-
- GrxCopyFile Copy OS/2 file(s).
-
- GrxDumpVarPool Dumps the current contents of the REXX
- variable pool to a file.
-
- GrxEditName This function constructs a new file name
- from an input file name and a pattern.
- The pattern uses standard OS/2 file name
- characters and the standard wildcard
- characters to produce a new file name.
-
- GrxMoveFile Move/rename specified file(s) or
- directory(s) which could include wildcards.
-
- GrxQueryAppType Queries the application type of an
- executable file.
-
- GrxQueryBootDrive Returns the current drive.
-
- GrxQueryComPorts Returns the number of RS232 Com ports
- attached to the system.
-
- GrxQueryCoprocessor Queries for the existence of a math
- coprocessor.
-
- GrxQueryDisplayAdapter Queries for the existence of a color adapter.
-
- GrxQueryFloppyDrives Returns the number of floppy drives
- installed in the system.
-
- GrxQueryFSAttach Returns the file system type for the
- specified drive.
-
- GrxQueryMaxPath Returns the length of the maximum
- acceptable fully qualified path.
-
- GrxQueryModel Returns the system Model type.
-
- GrxQueryPrinters Returns the number of parallel printer
- ports in the system.
-
- GrxQueryRAM Returns the approximate amount of (RAM)
- available.
-
- GrxQuerySubmodel Returns the system Submodel type.
-
- GrxReadToStem Reads a specified file into a stem variable.
- The maximum input line
-
- GrxShutdown Call the system shutdown API.
-
- GrxWriteFromStem Writes a specified file stem variable array to
- a specified file.
-
-
- Math Functions
-
- These functions extend the ability of REXX to perform math functions and
- calculations. Functions in this group derive from IBM C Set++ functions and do
- not return results with the number of digits specified by the current REXX
- NUMERIC instruction setting.
-
- GrxAcos Returns the arc cosine of the input angle
- (in radians).
-
- GrxAsin Returns the arc sine of the input angle (in
- radians).
-
- GrxAtan Returns the arc tangent of the input angle (in
- radians).
-
- GrxCeil Returns the smallest integer >= to the
- input number.
-
- GrxCos Returns the cosine of the input angle (in
- radians).
-
- GrxCosh Returns the hyperbolic cosine of the input
- angle (in radians).
-
- GrxExp Returns the exponential function of
- e**input_num, where e equals
- 2.17128128... .
-
- GrxFloor Returns the largest integer <= to the input
- number.
-
- GrxGamma Returns the gamma value of the input
- number. Gamma is defined as the
- function: ln ( |G(x)| )
-
- GrxHypot Returns the hypotenuse of the right
- triangle described by side1 and side2.
-
- GrxLog Returns the natural logarithm (base e) of
- the input number.
-
- GrxLog10 Returns the base 10 logarithm of the input
- number.
-
- GrxLONGToStr Returns the string equivilent of the input 4
- byte binary value.
-
- GrxSHORTToStr Returns the string equivilent of the input 2
- byte binary value.
-
- GrxSin Returns the sine of the input angle (in
- radians).
-
- GrxSinh Returns the hyperbolic sine of the input
- angle (in radians).
-
- GrxSqrt Returns the hyperbolic sine of the input
- angle (in radians).
-
- GrxStrToLONG Returns the 4 byte binary value in
- standard Intel byte-reversed format
- equivilent of the input string.
-
- GrxStrToSHORT Returns the 2 byte binary value in
- standard Intel byte-reversed format
- equivilent of the input string.
-
- GrxTan Returns the tangent of the input angle (in
- radians).
-
- GrxTanh Returns the hyperbolic tangent of the
- input angle (in radians).
-
-
- Miscellaneous Functions
-
- GrxDropFuncs Drops all of the functions in the
- GRXUTILS.DLL from REXX. After this
- call all of GRXUTILS's functions will
- become unknown to the interpreter,
- including this function.
-
- GrxLoadFuncs Registers all of the functions in the
- GRXUTILS.DLL package to REXX.
-
- GrxUtilsVersion Returns the version of the GRXUTILS.DLL
- which is currently running.
-
-
- Named Pipe Functions
-
- These functions extend the ability of REXX to perform named pipe functions as
- both a client and a server.
-
- GrxClientCloseNPipe This function is used by named pipe clients
- to close their end of a named pipe.
-
- GrxClientOpenNPipe This function is used by named pipe clients
- to open their end of a named pipe. The
- pipe is always opened as a message pipe.
-
- GrxReadNPipe This function is used by named pipe clients
- and servers to read a message from their end
- of a named pipe.
-
- GrxSrvrConnectNPipe This function is used by a named pipe
- server process to connect to a named
- pipe supplied from the server thread.
-
- GrxSrvrCreateNPipeThrd This function creates a named pipe server
- thread which will queue instances of the
- specified named pipe for use by the main
- REXX thread.
-
- GrxSrvrDestroyNPipeThrd This function is used by the server
- process to destroy its server thread
- instance.
-
- GrxSrvrDisconnectNPipe This function is used by the named pipe
- server process to close and disconnect
- from a named pipe instance.
-
- GrxWriteNPipe This function is used by named pipe
- servers and clients to write messages to
- their end of a named pipe.
-
-
- Process Functions
-
- GrxGetPID Return a process ID.
-
- GrxKillProcess Destroys a process.
-
- GrxKillThread Destroy a thread.
-
- GrxEnumEnvVars Enumerate all of the current system
- environment variables.
-
- GrxStartRexxThread Start another REXX thread of execution.
-
-
-
- REXX Macrospace Manipulation Functions
-
- These functions manipulate the REXX macrospace
-
- GrxMacroDrop Drops the specified function from the
- REXX Macrospace.
-
- GrxMacroErase Drops all functions unconditionally from
- THE REXX Macrospace.
-
- GrxMacroLoad Loads either a REXX Macro Library or a
- REXX Function to the REXX Macrospace.
-
- GrxMacroQuery Queries the REXX Macrospace for the
- existence of a function.
-
- GrxMacroReOrder Adjusts the search order position of the
- specified function in the REXX
- Macrospace.
-
- GrxMacroSave Saves the entire REXX Macrospace to the
- specified filename.
-
- Semaphore Functions
-
- These functions manipulate OS/2 Semaphores
-
- GrxAddMuxWaitSem Adds a new semaphore to the existing
- muxwait semaphore list.
-
- GrxCloseEventSem Closes an event semaphore.
-
- GrxCloseMutexSem Closes a mutex semaphore.
-
- GrxCloseMuxWaitSem Closes a muxwait semaphore.
-
- GrxCreateEventSem Creates an event semaphore.
-
- GrxCreateMutexSem Creates a mutex semaphore.
-
- GrxCreateMuxWaitSem Creates a muxwait semaphore.
-
- GrxDeleteMuxWaitSem Deletes a semaphore from a muxwait
- semaphore list.
-
- GrxOpenEventSem Opens an existing event semaphore.
-
- GrxOpenMutexSem Opens an existing mutex semaphore.
-
- GrxOpenMuxWaitSem Opens an existing mutex semaphore.
-
- GrxPostEventSem Posts an event semaphore.
-
- GrxQueryEventSem Queries the post count of an event
- semaphore.
-
- GrxQueryMutexSem Queries a mutex semaphore.
-
- GrxQueryMuxWaitSem Queries a muxwait semaphore.
-
- GrxReleaseMutexSem Releases a mutex semaphore.
-
- GrxRequestMutexSem Requests ownership of an mutex
- semaphore.
-
- GrxResetEventSem Resets the post count of an event
- semaphore to zero and returns the old
- post count.
-
- GrxWaitEventSem Waits for the event semaphore to be
- posted.
-
- GrxWaitMuxWaitSem Waits for the muxwait semaphore to
- become available.
-
-
-
- VIO Interface Functions
-
- These functions call OS/2 system VIO functions to manipulate text screens and
- windows.
-
- GrxGetAnsi Obtains the current state of the ANSI flag.
-
- GrxGetCurPos Obtains the current cursor position.
-
- GrxGetCurType Queries the cursor type.
-
- GrxGetMode Obtains the current screen mode.
-
- GrxPrtSc Copies the contents of the screen to the
- printer.
-
- GrxReadCellStr Copies a character-attribute string from
- the screen from the specified position.
-
- GrxReadCharStr Copies a string (but not its attribute bytes)
- from the screen from the specified
- position.
-
- GrxScrollDn Scrolls the designated area of the screen
- downward the specified number of lines.
-
- GrxScrollLf Scrolls the designated area of the screen
- leftward the specified number of
- characters.
-
- GrxScrollRt Scrolls the designated area of the screen
- rightward the specified number of
- characters.
-
- GrxScrollUp Scrolls the designated area of the screen
- upward the specified number of lines.
-
- GrxSetAnsi Sets the state of the ANSI flag.
-
- GrxSetCurPos Sets the current cursor position
- at the specified position.
-
- GrxSetCurType Sets the current cursor type.
-
- GrxSetMode Sets the screen mode.
-
- GrxWrtCellStr Write a character-attribute string to the
- screen at the specified position.
-
- GrxWrtCharStr Write a character string to the screen at
- the specified position utilizing the current
- screen attributes.
-
- GrxWrtCharStrAtt Write a character string to the screen at
- the specified position utilizing the
- specified attribute.
-
- GrxWrtNAttr Writes an attribute the specified number
- of times to the specified screen position.
-
- GrxWrtNCell Write a character-attribute pair to the
- screen the specified number of times
- starting at the specified position.
-
- GrxWrtNChar Write a character to the screen the
- specified number of times starting at the
- specified position utilizing the current
- screen attributes.
-
- GrxWrtTTY Write a character string to the screen
- starting at the current cursor position.
-
-