Print options
The Print Options allow you to print change criteria and audit trail reports created during the update process. The Print Options function initiates batch print jobs. The format of the output is controlled by the Batch Product Option Variables described under Batch Parameters in the section Configuration parameters.
To select a print option: From the Utilities Selection Menu, type the selection number in the OPTION field and press <Enter>.
Print change criteria
The Print Change Criteria - Dataset Specification screen is displayed when you select option U.1 from the Primary Option Menu, or option 1 from the Utilities Selection Menu. This screen enables you to print the contents of an existing change criteria member. Temporary change criteria cannot be printed.
The Print Change Criteria - Dataset Specification screen, shown in the following figure, is displayed.
Print Change Criteria - Dataset Specification screen
COMMAND ===>
Specify Change Criteria Information:
Dataset Name ===>’USERID0.DASAMP.CHGCRIT’
Member name ===> (Blank = member list; * = all members)
Specify Batch JCL Information:
SYSOUT class ===> *
Specify JOB Statement Information:
===> //USERID0 JOB (’ODAQC1.0.0’,81),’AUDIT’,
===> // CLASS=P,NOTIFY=USERID0,MSGCLASS=R
===>
===>
Use JCL command to edit generated JCL
Use SUBMIT command to submit batch job
Use END to return to main print panel without submitting job
Field Descriptions
Specify Change Criteria Information:
Dataset name
Enter the change criteria dataset name to print.
You can enter a pattern data set name in this field to display a list of data sets from which you can make a selection. A pattern data set name or mask consists of explicit characters or a combination of explicit and pattern characters. For more information, see Pattern Data set Names in section Specifying a data set name.
Member name
Specify the member name. You can leave this field blank or enter a pattern member name to display a list of members from which you can make a selection. A pattern member name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Member Names in section Specifying-a-dataset-name for a complete description. Pattern names cannot be entered in both the Dataset name and Member name fields at the same time.
Enter an asterisk (*) in the Member name field to print all members of a partitioned change criteria file.
Specify Batch JCL Information:
SYSOUT class
Enter the sysout class for the Change Criteria Contents Report. For more information, see Change Criteria Report.
Specify JOB Statement Information:
Enter the JOB statement JCL for the batch job.
After you complete the information on the screen, use the SUBMIT command to submit the batch job. You can edit the generated JCL before you submit it. Use the JCL command to display a ISPF/PDF Edit screen.
Use the END command (PF3) to exit the Print Change Criteria - Dataset Specification screen.
The Print Change Criteria function can also be executed as a separate step in a batch job by coding the appropriate JCL. See Executing Print Change Criteria Independently in Batch.
Change criteria report
The Change Criteria Report displays the record and field change criteria detail. Selection and execution options are printed first, followed by formatted field change criteria.
The options section of the report, as shown in the following figure, lists initial records to skip, subsequent selection interval, records to select, records to skip, number of records to search, and number of records to select.
Change Criteria Report — Selection Options Section
CHANGE CRITERIA REPORT
Change Criteria Dataset USERID0.DASAMP.CHGCRIT
Member INFILE
Member Description
Record Layout Dataset USERID0.DASAMP.LAYOUTS
Member IVNFILE
Xref Dataset NONE
Member
Description EMPLOYEE SELECT EXAMPLE
SELECT SINGLE EMPLOYEES WITH LOCAL W/H LT 7
OR HOME PHONE IN AREA CODE 404 408 OR 415
Selection criteria options
Initial Records to skip 0
Subsequent Selection Interval
Records to select 1
Records to skip 0
Number of records to search ALL
Number of records to select ALL
The formatted change criteria section of the report, shown in the following figure, lists the data-name, format, starting position in the record, length, relational operator, data value, date pattern, business rules usage, and logical operator (AND or OR) used in the comparison for each field selected in each set of formatted field change criteria.
Change Criteria Report — Formatted Section
Field Change Criteria:
Data-name Format Start Length RO Data Value Date Pattern R AND/OR
---------------------- ---------- ----- ------ -- ------------------------------ --------------- - ------
Set 1: Aging
DATE-100 CHAR 1 6 + C( ),Y( 1),M( ),D( ) MMDDYY-ACCT
*** END OF CHANGE CRITERIA REPORT ***
Field Change Criteria:
Data-name Format Start Length RO Parameters Exit Name R AND/OR
---------------------- ---------- ----- ------ -- ------------------------------- --------------- - ------
Set 1: Field Exit
ADD-B NUM/BIN 1 4 EX 16 ADD AND
ADD-N NUM/ZONE 13 8 EX 16 ADD AND
ADD-P NUM/PACK 21 5 EX 16 ADD
*** END OF CHANGE CRITERIA REPORT ***
Field Change Criteria:
Data-name Format Start Length RO Data Value Euro Conversion R AND/OR
---------------------- ---------- ----- ------ -- ------------------------------ --------------- - ------
Set 1: Euro
OS-AMOUNT NUM/ZONE 1 9 EX FROS +2DSN:USERID.DATA.DASEURORATE
*** END OF CHANGE CRITERIA REPORT ***
Executing print change criteria independently in batch
The Print Change Criteria function can be executed as a separate step in a batch job by coding the JCL shown in the following figure.
Batch Print Change Criteria JCL
//STEPLIB DD DISP=SHR,DSN=hlq.CXVJLOAD
// DD DISP=SHR,DSN=hlq.SXVJLOAD
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//DD01 DD DSN=USERID0.DASAMP.CHGCRIT,
// DISP=SHR
//SYSIN DD *
$$DD01 SCPRINT MEMBER=(INFILE)
/*
Change criteria print execution return codes
The change criteria print execution return codes are summarized in the following table.
Print Execution Return Codes
RC | Explanation | Error Description |
---|---|---|
0 | Job ran to completion. | None. |
8 | Job may have ended prematurely. | Data set related error. |
12 | Job may have ended prematurely. | I/O related error. |
16 | Severe error occurred. | System error. |
Related topics