Printing tables (TPRINT)

Introduction

You can print the currently displayed table using the primary command TPRINT.

The print request is submitted by the current TSO user ID. The print parameters for this command are stored in your user profile.

Note

This command works only for tables, but not for other panels.

Changing the print characteristics

You can change the print characteristics for the TPRINT command permanently or temporarily when printing tables.

Temporary changes apply only to the current TPRINT command. To make temporary changes, specify No in the Save to PROFILE field in the TPRINT Characteristics Default panel.

Permanent changes apply to the current and subsequent TPRINT print command and are stored in your user profile. To make permanent changes, specify Yes in the Save to PROFILE field in the TPRINT Characteristics Default panel.

Procedure

To print the current table:

  1. Choose an option, enter the desired selection criteria, and press ENTER to display the table.
  2. In the command line, enter the primary command TPRINT.
  3. Type the values of your choice in the current panel and press ENTER.

    This will:

    • Print the current table using the print characteristics of your choice
    • Save the print characteristics of your choice in your user profile if you have specified Yes in the Save to PROFILE field
    • Display the message "TPRINT successful" in the upper right corner of the panel

TPRINT Characteristics Defaults

PEB0TPRT ---------------------------------------------------------------------
 Command ===> _________________________________________________________________

 TPRINT Characteristics Defaults


 Disposition ===> SHR (S)HR, (O)LD, (M)OD, or blank to use SYSOUT
 Dataset Name ===> BETA.TPRINT.TEST(MEMBER)______________________________


 Class ===> _ Hold ===> YES
 Forms Number ===> ____ Writer Name ===> ________
 Destination ===> ________ User ID ===> ________



 Save to PROFILE ===> NO_ (Y)es, (N)o




 Press the ENTER key to print the table.
 Press the END key to return to the previous panel.

Fields

Field

Description

Disposition

To print to SYSOUT, leave this field blank.

To print to an existing dataset, enter one of the following dispositions: SHR, OLD, or MOD

To print to a new dataset, enter SHR, OLD, or MOD and enter the name of the new dataset in the Dataset Name field. After you have confirmed that you want to create a new dataset, a panel is displayed where you can specify the allocation parameters.

Dataset Name

Required if disposition is SHR, OLD, or MOD:

Name of a PS dataset or of a member in a PO dataset. Attributes for this dataset must be:

  • RECFM=FB/FBA/FBM
  • LRECL = 80 - 143

Class

Required if disposition is blank:

Output class to print to JES. Valid classes are A ‑ Z and 0 ‑ 9.

Hold

Required if disposition is blank:

Yes

to hold the SYSOUT dataset until it is released by the user

Forms Number

Identifies the forms on which the SYSOUT dataset is to be printed (optional); corresponds to the FORMS parameter

Writer Name

Identifies the member name of the External Writer Name (optional); corresponds to the WRITER parameter

Destination /
User ID

Sends a SYSOUT dataset to the specified destination (optional); corresponds to the DEST parameter

Save to PROFILE

Yes

to save the current values as print characteristic defaults in the user profile

No

to use the print characteristics for the current print request only without changing the defaults in the user profile