Logical device support function for REXX Arthur Ecock CUNY http://www.cuny.edu/ Prototype for SESSION Version 2. RXLDEV is a REXX Function that allows users to automate all or portions of a VM Logon Session with REXX. PROTO EXEC is a sample, 1 session test program. Issuing: "PROTO userid" will create a session using RXLDEV. The first few screens of the session will flash past the user's screen, since the EXEC automates the first few keystrokes of session (entering the userid, password, clearing the screen, etc.). When the CP LOGOFF command is issued, the CP logoff messages will appear. Pressing the ENTER key at this point will return to the userid which invoked PROTO. PROTO contains a screen-copy facility as well as a PFkey toggle (for those terminals with only 12 PF keys, the toggle function allows you to "flip" PF1-12 into PF13-24 and vice-versa). LSAMPLE EXEC is an example of a REXX EXEC which controls a local copy printer. If LSAMPLE is running in a disconnected virtual machine, a user can CP SET PFxx COPY LF00, where "LF00" is the address of the Logical Device Printer being controlled by LSAMPLE. LCOPY EXEC is the same as LSAMPLE except that it has been modified to run under VM/XA. LCOPY also creates a Local Copy Printer for use with VTAM terminals. LCOPY uses Logical Device Address L200. Currently, RXLDEV does not support the creation of specific Logical Device Addresses when running under XA systems due to a deficiency in the XA Logical Device Support Facility. Thus, it can't create "LF00", so it defaults to whatever CP assigns, which is "L200" if LCOPY is the first program which initiates Logical Devices. Module Regeneration: VMFASM RXLDEV DMSSP or VMFHASM RXLDEV DMSSP LOAD RXLDEV (CLEAR RLDSAVE GENMOD RXLDEV (SYSTEM If you need to re-assemble RXLDEV under CMS 5 or later, you will need to comment out the following instructions: ./ R 05111000 05112000 $ 5111590 590 SHVSYSET EQU C's' 05111590 SHVSYFET EQU C'f' 05112180