Copybook View and Print: Entry panel

The Copybook View and Print: Entry panel is used to specify the template definition that you want to view or print. These field definitions can be stored in:

  • a copybook
  • a template that was based on a copybook (not Db2® templates)
  • a dynamic template
  • an IMS™ view
  • an IMS criteria set

Panel and field definitions

Figure 1. Copybook View and Print Utility panel
  Process   Options   Help
 Z Data Tools           Copybook View and Print

 Copybook or Template:
    Data set name . . . . . ______________________________________________
    Member  . . . . . . . . __________   Blank or pattern for member list

 Processing Options:
    View/Print Option                  Enter "/" to select option
    1  1. View                            Batch Execution
       2. Print                        /  Show array elements
                                          Show start/end as hex offset
                                          Show length in hex
                                          Show template criteria

 Command ===> _________________________________________________________________
  F1=Help      F2=Split     F3=Exit      F4=CRetriev  F7=Backward  F8=Forward
  F9=Swap     F10=Actions  F12=Cancel
Copybook or Template
The name of copybook, template (non Db2), IMS view or IMS criteria set that you want to view or print, which is specified using:
Data set name
The name of the sequential or partitioned data set that contains the copybooks, templates, IMS views or IMS criteria sets that you want to view or print. Can be a fully-qualified data set name or a pattern. The name may include a member name or name pattern in parenthesis. If the member is specified here, the associated Member field must be empty.
Note: A copybook must be a member of a partitioned data set. Templates, IMS views and IMS criteria sets can be in a sequential data set.
If you specified the name of a partitioned data set (PDS) without including a member name or name pattern in parenthesis in the Data set name field, then you can use this field to specify the member name or a member name pattern.
Processing options
You can specify whether to view or print the layout and also request batch or foreground execution. The options are described below:
View/Print Option
This option is ignored for batch execution.
1. View
Displays the report on a scrollable panel.
2. Print
Prints the report to the current print data set.
Batch execution
Runs the function in batch. The Set Batch Job card Information panel can be used to tailor the default JOB card that Z Data Tools uses to generate JCL.
Show array elements
Shows all occurrences of array elements.

For COBOL OCCURS DEPENDING ON arrays, the maximum occurrences are shown. For PL/1 REFER arrays, the minimum occurrences are shown.

Show start/end as hex offset
Shows start and end values as hexadecimal offsets.
Show length in hex
Shows length values as hexadecimal.
Show template criteria
Shows any identification and selection criteria contained in the template.

If a copybook is being viewed or printed, this option has no effect.

Equivalent functions

  • None.