This UFD contains files submitted by members of the Midlands Local Users Group located in and around Omaha Nebraska. Questions may be directed to the individual submitters or to the LUG officers. Thomas Bridge, Chairman MLUG DECUS NORCO Mills Norfolk, Nebraska Robert Mack, Co-chairman MLUG DECUS Informatics Inc. 1508 Kennedy Drive, Suite 215 Bellevue, Nebraska 68005 Michael C. Yankus, Sec/Treas MLUG DECUS PRC Information Sciences Co. 1508 Kennedy Drive, Suite 215 Bellevue, Nebraska 68005 FILE DESCRIPTION ---- ----------- SW.MAC DT03 (or DT07) UNIBUS Switch handler for IAS or RSX-11D. Refer to source code comments for details. SWTKB.CMD Task build command file for Switch handler (IAS). SWIMCR.MAC MCR task to turn DT03 switch on or off (via handler). SW0TKB.CMD Task build command file for SWIMCR. Task name ...SW0 is used for unit SW0, ...SW1 for unit SW1, etc. RSXERR.MAC Subroutine to print QIO, FCS, and DSW errors using MO.... and a modified QIOSYM.MSG file, RSX.MSG. Entry point QIOERR is used for I/O status return codes from QIO$ or QIOW$ directives. The $IOERR macro is used to call this routine: $IOERR IOST Entry point FCSERR is used to report FCS errors as follows: PUT$ #FDB,#REC,#LEN,FCSERR or CLOSE$ #FDB,FCSERR Entry point DSWERR is used to print directive errors: DIR$ #QIO,DSWERR or RQST$S #TSKNAM,,,,,DSWERR To build RSX.MSG proceed as follows: MCR>HEL [1,2] MCR>SLP SLP>RSX.MSG=QIOSYM.MSG / SLP>^Z MCR>EDI RSX.MSG *MACRO 1 N&C//PC=%P %D. / *99M1 *REN *99M1 *REN repeat till EOF *ED MCR>FLX /FA:64.=RSX.MSG/RS IOERR.MDF Macro definition for $IOERR. To place in library: MCR>HEL [1,1] MCR>LBR RSXMAC.SML=IOERR.MDF MOLUN.MAC Used by RSXERR. FILE DESCRIPTION ---- ----------- FOMSG.SLP Enhancements to MO handler. Submitted by Robert Mack, Informatics Inc., 1508 Kennedy Drive, Bellevue, Nebr. 68005. This is a SLP command file for use in rebuilding the IAS V3.0 distributed version of the MO handler. It provides two additional features: 1. A parameter which will allow conversion of unsigned decimal numbers. (The original only allows signed decimal.) 2. A provision to allow specification that the system time be placed in the output string. To convert decimal numbers to their unsigned form in the output message use the following: %nE Convert n words beginning at the current location in the parameter list. Each word produces an unsigned, zero- suppressed ASCII string (maximun 5 digits) that is an unsigned decimal representation of the word. The character V may be used in place of the count n if a variable number of words are to be converted. To specify that the system time be placed in the output message use the following: %M No parameters are to be supplied and any which have been placed on the list for subsequent use will not be affected. For example: THE TIME OF DAY IS %M produces at 12:34:56 THE TIME OF DAY IS 12:34:56 To build the modified MO handler place FOMSG.SLP in [311,14], assemble and task build as follows: MCR>SLP SLP>FOMSG.MAC=FOMSG.MAC @FOMSG.SLP SLP>^Z MCR>HEL [1,1] MCR>MAC [11,14]FOMSG,[211,14]FOMSG/-SP=[311,14]FOMSG MCR>TKB @[11,14]MOBLD