z/OS TSO/E User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Making a Copy of Your Display Screen

z/OS TSO/E User's Guide
SA32-0971-00

You can get a copy of the information on your display screen by using the SNAPSHOT command. This command places a copy of the information into a particular stream. You can then print the information by using the SMCOPY command. (See Using TSO/E Commands for a description of SMCOPY.) An easy way to accomplish these steps is to define a PF key to issue the commands for you.

The following example illustrates how to define PF1 to issue the SNAPSHOT command placing a copy of the display screen in the EXTRA1 stream. The second command in the example defines PF4 to print the stream, and then erases the information in it so you can use the stream again. Notice that PF4 uses the PUT command to place the SMCOPY and SMPUT commands into the TSOIN stream.
CHANGE.PFK 1 'SNAPSHOT EXTRA1 FORMAT' SMIN
CHANGE.PFK 4 'PUT ''SMCOPY FROMSTREAM(EXTRA1) PRINT(A)
              PREFORMAT CAPS'' TSOIN; PUT ''SMPUT
              /CHANGE.STREAM EXTRA1 CLEAR/'' TSOIN' SMIN

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014