CONSOLE OUTPUT When you use a 3270 terminal as your virtual machine console, you do not
ordinarily retain a console log, as you do on typewriter terminal.
There may be many circumstances in which you need a printed record of
your console output, whether it be to obtain a copy of program-generated
output, or to retain a record of CP and/or CMS commands that resulted in
an error condition. There are two techniques you can use in VM/370 to
obtain hardcopy representations of display terminal sessions: spooling
console output and the 3270 copy function.
The CP SPOOL command provides the CONSOLE operand, which allows you to
begin and end console spooling. You enter:
cp spool console start
when you want to begin recording your terminal session, and:
cp spool console stop
when you have finished. In between, you can periodically close the
console file to release for printing whatever has been spooled thus far:
cp spool console close Other operands that you can enter are the same as you might specify for
any printer file, such as CLASS, COPY, CONT, and HOLD. An alternate technique is to spool your console to your own virtual
reader:
cp spool console start * class a
Then, when you close the console file, instead of being released to the CP printer spool file queue, it is routed to your virtual card reader,
and you can load it onto your A-disk as a CMS disk file:
readcard console file You can then use the editor to examine it (or to delete sections you don't need) and use the PRINT command to spool it to the printer.
If you are using a 3270 display terminal, and you have available
3286, 3287, 3288, or 3289 printer, you can copy the full screen
currently appearing on the screen. To copy the screen, you assign the copying function to a program function key, with
command:
cp set pf9 copy
a 3284,
display
have to
the SET Then, whenever you want to copy a screen display, you can press the PF9 key (or whichever key you set). The display is printed on any 3270 display printer that is attached to the same remote control unit as the
display terminal. If, when you press the PF key, the screen status area
342 IBM VM/370 eMS User's Guide
!!arch 30, 1979
indicates NOT ACCEPTED, it means that the printer is either not ready or
not available. When you press the PF key and receive no response, it
means that the screen has been copied.
There is a print matrix available to the 3274 and 3276 user that
allows control 6£ the display to printer operations. In addition, a
local print key is provided on the 3274 that can be used for cOFY operations.
Figure 28 is an example of a 3270 screen display that could be copied
on the printer. When you use the copy function to copy a screen, all 24 lines of the display screen are copied; the screen status area
(indicated as RUNNING in Figure 28) is blank if the 3270 is locally If the 3270 is remotely attached, the entire screen including
the screen status area, is copied. You can use the user input area of
your screen to key in comments, or your name or userid, if several users
are spooling copy files.
DEFINE STORAGE 16384K STORAGE = 16384K IPL 190 C!!S VERSION 3.0 02/28/76 10:32
test1 ••• t. jones RUNNING Figure 28. 3270 Screen Display Signaling Interruptions The two keys on your 3270 keyboard that signal interruptions are the Pl1 key -- REQ key on a 3278 !!odel 2A --and the Enter key. Throughout this
publication, interruption signaling has been described in teras of the
Attention key, which is the interruption signaling key on a 2741. On a typewriter terminal, the Attention key, pressed once, causes a
virtual machine interruption (if the terminal mode is set to Vft); you
must use it when you want to enter an Immediate command, such as HT or HX. On a display terminal, you can enter these commands whenever your
virtual machine is in a running status, without having to signal an
interruption before you enter the command.
Sometimes, however, if your terminal is displaying output very
rapidly, you must wait until the screen is full and the screen status
area indicates a !!ORE ••• status before you attempt to enter the HT or HX command.
The Enter key can also be used as an interruFtion signaling key. If
you press it once when your virtual machine is running, you will place
your virtual machine in the V!! READ status, so you can enter a command line. If you press the Enter key twice, quickly, you enter the CP
environment, with your console in a CP READ status.
Appendix C: Considerations for 3270 Display Terminal Users 343
Previous Page Next Page