Previous Topic: Printing Data SetsNext Topic: Filters


Print Data Sets

To print data sets of various file types, use the Print Dataset screen.

To print a data set

  1. Select PRINT from the Main Menu.

    The Print Dataset screen opens.

    ---------------- CA File Master Plus -- Print Dataset -------------- COMMAND ===> Specify Dataset to Print: Dataset name ===> 'TECH.WORKPDS3' Member name ===> ('*' = all members, blank/wildcard = mem list) Volume ===> (If dataset not cataloged) Print mode ===> S C = Character L = List H = Hex S = Single Record Formatted Starting Key/Rec# ===> Print limit ===> Execution mode ===> E S = Submit JCL E = Edit JCL Record Layout for Formatted Print: Layout dataset ===> Layout member ===> Selection Criteria below or Selection Criteria Member ===> ===> ===> ===>

  2. Complete the following fields:
    Dataset name

    Specifies the data set name of the data set to be printed. The data set can be sequential, PDS, or VSAM.

    DSN fields on the screen are supported by wildcard and DSN list syntaxes. Type any of the following syntaxes to select the DSN you want.

    Member name

    Defines the member name of the member you want to print. Do one of the following:

    Volume

    Specifies the volume serial number of the volume on which the data set resides if the data set to be processed is uncataloged.

    Print mode

    Specifies the print mode to print the data set. Type one of the following values:

    C—(Character)–Record printed with 100 bytes to a line with unprintable characters displayed as blank.

    H—(Hex)–Three line display with character over hex value.

    S—(Single Record Format)–A display line for each field in the record with each line containing a field name and the field's value.

    Starting Key/Rec #

    Defines the starting location in this field if printing begins at a specified location within the input file. The format of the starting location varies depending on the file types and based on the following rules:

    Print limit

    Specifies the maximum number of records to be printed.

    Note: If you have not specified a value or if the value in the Print Limit field equals zero, no limit is placed on the number of records printed.

    Execution Mode

    Provides the following print execution modes:

    S—Generate and submit JCL to perform the function.

    E—Generate JCL to perform the function and initiate an edit session on the JCL. Alter the JCL (as needed) and submit the JCL or save it to another location.

    Layout dataset

    Specifies the DSN of the record description copy member PDS that describes the file to be processed.

    Layout member

    Specifies the member name of the record description copy member that describes the file to be processed.

    Leave this field blank to receive a directory of the members in the record layout PDS, if the print mode is single record format.

    Type a wildcarded member name to receive a directory of members that match that wildcard.

    Selection Criteria

    Specifies selection criteria to filter the records or members to be printed.

    Note: Selection criteria are ignored if you type a single asterisk in the print member name. If you want to apply selection criteria to all members, leave the print member name blank.

    Selection criteria are used to restrict your view to certain members or records based on the following types of parameters:

    For a complete explanation of selection criteria and examples of valid syntax, see the chapter "Filters."

    Use a catalogued selection criteria parameter member that has been defined using CA File Master Plus Option 0.3.

    Use the primary LAYOUT command.