z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Printing with TSO/E commands

z/OS UNIX System Services User's Guide
SA23-2279-00

Using TSO/E: Some printer services, such as printing a single file to multiple destinations, are not available through the lp command. To print in TSO/E, you need to know:
  • The TSO/E commands you can use to submit print jobs
  • The printing options (class) you want to specify

Here are the steps:

  1. If you are working in the shell, switch to TSO/E command mode by pressing the TSO function key.
  2. If you want to print an MVS™ data set, skip to the next step. If you want to print a z/OS UNIX file, you must first copy it into an MVS data set using the TSO/E OGET or OCOPY command. (See Copying a z/OS UNIX file into a sequential data set or PDS member for more information on copying.)

    Tip: Someone at your installation may have written an MVS command list (CLIST) or a REXX program that you can enter as a TSO/E command for printing. The command list could include the OGET or OCOPY command, and would let you specify such things as multiple destinations, special character sets, and notification for a set of people.

  3. You can format an MVS data set for printing using TSO/E commands. Possibly you will be using ISPF panels.
  4. Print the data set:
    • To enter the request to print the formatted data set, for example, you might enter:
      printds da(project1.list) class(c)
    • To submit a print request to the MVS job queue, for example, you might enter:
      submit  jcl.cntl(print1)

For a print batch job request, the system returns a message confirming that the job request has been received.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014