Jump to content

RXASYNC

From EDM2
Revision as of 01:23, 5 October 2023 by Ak120 (talk | contribs) (Links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RXASYNC.DLL is a REXX DLL which provides full exposure of the OS/2 Asynchronous communications API and thus enables REXX users to fully exploit the scripting advantages of REXX and OS/2 serial communications. Works with SIO and standard COM drivers. The source for IBM Developer's Workframe/2 is included.

Author: Ian Timms (Crucial Applications)

Functions

House keeping
  • RxAsyncDropFuncs - Drop the functions from REXX
  • RxAsyncLoadFuncs - Load the functions into REXX
Process control
  • RxAsyncPriority - Set Rexx process priority
ASYNC IOCTL interface
  • RxAsyncGetDcbInfo - Get the device control block info
  • RxAsyncSetDcbInfo - Set the device control block info
  • RxAsyncGetEnhParm - Get the enhanced parameters
  • RxAsyncSetEnhParm - Set the enhanced parameters
  • RxAsyncGetLnCtrl - Get the comms port settings
  • RxAsyncSetLnCtrl - Set the comms port settings
  • RxAsyncSetBreakOff - Turn break off
  • RxAsyncSetBreakOn - Turn break on
  • RxAsyncTxImmediate - Transmit byte immediately
  • RxAsyncTxStop - Stop transmission (ala XOFF)
  • RxAsyncTxStart - Start transmission (ala XON)
  • RxAsyncGetComStatus - Get COM status
  • RxAsyncGetTxStatus - Get Transmit status
  • RxAsyncGetMdmOutput - Get modem output signals
  • RxAsyncGetMdmInput - Get modem input signals
  • RxAsyncSetMdmOutput - Set modem output signals
  • RxAsyncGetRxCount - Get size and number of chars in RX queue
  • RxAsyncGetTxCount - Get size and number of chars in TX queue
  • RxAsyncGetComError - Get the COM Error Word
  • RxAsyncGetComEvent - Get the COM Event Word
Extensions
  • RxAsyncOpen - Open the specified comms port
  • RxAsyncClose - Close the specified comms port
  • RxAsyncWait - Wait for receipt of input
  • RxAsyncWatch - Wait for receipt of specified strings
  • RxAsyncRead - Read data and wait if necessary
  • RxAsyncWrite - Write data to the comms port
  • RxAsyncCarrier - Test/Wait for Data Carrier Detect (DCD)
  • RxAsyncBreak - Send break for defined period
  • RxAsyncDcbInfo - Print the device control block info
  • RxAsyncActive - Test for active modem signal
  • RxAsyncRaise - Raise specified modem signal
  • RxAsyncLower - Lower specified modem signal
File handling
  • RxAsyncFileExists -Test for file(s) existence
  • RxAsyncFileDelete - Delete specified file
  • RxAsyncFileCopy - Copy specified file
  • RxAsyncFileMove - Move specified file
  • RxAsyncFileRename - Rename specified file
  • RxAsyncFileNameIs - Determine file name
  • RxAsyncFilePathIs - Determine file path
  • RxAsyncDirectory - Query/Change directory/drive
Miscellaneous
  • RxAsyncSleep - Wait for some defined period
  • RxAsyncPrint - Print string on stdout
  • RxAsyncMsgBox - Display PM message box (PM use only)

Version

  • 1.0 (1993-08-14)
  • 1.5 (1994-05-22)
  • 2.0 (1994-12-26)

Links

  • [rxasyn20.zip]