Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Print Transaction Report (PRTTNSRPT) command creates and prints performance reports that show detailed information about the transactions that occurred during the time that the performance data was collected. These reports require that trace data be collected by using the Start Performance Trace (STRPFRTRC) command. Jobs may be selectively included or excluded from the reports, based on a variety of job details and interval times.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MBR | Member | Name | Required, Positional 1 |
TITLE | Report title | Character value, *BLANK | Optional, Positional 3 |
RPTTYPE | Report type | Values (up to 5 repetitions): *SUMMARY, *TNSACT, *TRSIT, *FILE, *TRCDTA | Optional, Positional 4 |
PERIOD | Time period for report | Element list | Optional |
Element 1: | Element list | ||
Element 1: Starting time | Time, *FIRST | ||
Element 2: | Element list | ||
Element 1: Ending time | Time, *LAST | ||
LIB | Library | Name, QPFRDATA | Optional, Positional 2 |
OPTION | Report option | Values (up to 7 repetitions): *SS, *SI, *OZ, *EV, *HV, *DI, *DQ, X'40' | Optional |
DETAIL | Report detail | *JOB, *THREAD | Optional |
SLTJOB | Select jobs | Single values: *ALL Other values (up to 50 repetitions): Element list |
Optional |
Element 1: Job name | Character value | ||
Element 2: | Element list | ||
Element 1: Thread | Character value, *ALL | ||
OMTJOB | Omit jobs | Single values: *NONE Other values (up to 50 repetitions): Element list |
Optional |
Element 1: Job name | Character value | ||
Element 2: | Element list | ||
Element 1: Thread | Character value, *ALL | ||
SLTUSRID | Select users | Single values: *ALL Other values (up to 50 repetitions): Generic name, name |
Optional |
OMTUSRID | Omit users | Single values: *NONE Other values (up to 50 repetitions): Generic name, name |
Optional |
SLTPOOLS | Select pools | Single values: *ALL Other values (up to 64 repetitions): 1-64, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Optional |
OMTPOOLS | Omit pools | Single values: *NONE Other values (up to 64 repetitions): 1-64, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Optional |
SLTFCNARA | Select functional areas | Single values: *ALL Other values (up to 50 repetitions): Character value |
Optional |
OMTFCNARA | Omit functional areas | Single values: *NONE Other values (up to 50 repetitions): Character value |
Optional |
JOB | Job name | Name, PRTTNSRPT, *MBR | Optional |
JOBD | Job description | Single values: *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Job description | Name, QPFRJOBD | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies the performance data member used. This name should correspond to the member name specified on the MBR parameter of the End Performance Trace (ENDPFRTRC) command.
This is a required parameter.
Top |
Specifies the title for the transaction report that is created.
Top |
Specifies the type of transaction analysis report that is printed. A list of report types can be requested, so that both summary level and transaction detail reports can be requested at the same time. The transaction detail and transition detail reports are quite detailed, and should only be combined with a selection of specific jobs, users, and/or time intervals.
Top |
Specifies the times when transactions are reported.
Starting Time
The time can be specified with or without a time separator:
Ending Time
The time can be specified with or without a time separator:
Top |
Specifies the library where the performance data is located.
Top |
Specifies additional options that you apply to the transaction report.
Top |
Specifies whether you want the report to provide detailed job information at the job level or the thread level.
Top |
Specifies which jobs are included in the report. This allows the user to narrow the scope of the report to certain jobs through job selection.
The Select jobs prompt (SLTJOB parameter) and Omit jobs prompt (OMTJOB parameter) are mutually exclusive, so the default must be used for at least one of them.
You can enter multiple values for this parameter.
Element 1: Job name
Note: The job name is not a fully qualified job name. It is the ten-character job name portion of the qualified name. The job number is allowed on this parameter. You cannot mix the use of job name and job number, one or the other must be used on a given request.
Element 2: Thread
Top |
Specifies which jobs are omitted from the report. This allows the user to narrow the scope of the report to certain jobs through job omission.
The Select jobs prompt (SLTJOB parameter) and Omit jobs prompt (OMTJOB parameter) are mutually exclusive, so the default must be used for at least one of them.
You can enter multiple values for this parameter.
Element 1: Job name
Note: The job name is not a fully qualified job name. It is the ten-character job name portion of the qualified name. The job number is allowed on this parameter. You cannot mix the use of the job name and job number, one or the other must be used on a given request.
Element 2: Thread
Top |
Specifies a list of up to 50 user names to be included in the report. Only jobs with one of the specified user names are included in the report.
Note: This parameter and the Omit users prompt (OMTUSRID parameter) are mutually exclusive.
You can enter multiple values for this parameter.
Note: A generic name is a character string that contains one or more characters followed by an asterisk(*), for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic name, the system assumes it to be the complete object name.
Top |
Specifies a list of up to 50 user names to be omitted from the report.
Note: This parameter and the Select users prompt (SLTUSRID parameter) are mutually exclusive.
You can enter multiple values for this parameter.
Note: A generic name is a character string that contains one or more characters followed by an asterisk(*), for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix for which the user has authority. If an asterisk is not included with the generic name, the system assumes it to be the complete object name.
Top |
Specifies a list of up to 64 pools to be included in the report.
Note: This parameter and the Omit pools prompt (OMTPOOLS parameter) are mutually exclusive.
You can enter multiple values for this parameter.
Top |
Specifies a list of up to 64 pools to omit. Jobs that ran in any of the specified pools are excluded from the report.
Note: This parameter and the Select pools prompt (SLTPOOLS parameter) are mutually exclusive.
You can enter multiple values for this parameter.
Top |
Specifies a list of up to 50 functional areas to select. Only jobs and users identified in one of the functional areas are included in the report.
A functional area is a list of job names and/or user names previously defined by the user. More information on functional areas is in the Performance Tools for iSeries book.
Note: This parameter and the Omit functional areas prompt (OMTFCNARA parameter) are mutually exclusive.
You can enter multiple values for this parameter.
Top |
Specifies a list of up to 50 functional areas to omit. Jobs and users identified in any of the functional areas are excluded from the report.
A functional area is a list of job names and/or user names previously defined by the user. More information on functional areas is in the Performance Tools for iSeries book.
Note: This parameter and the Select functional areas prompt (SLTFCNARA parameter) are mutually exclusive.
You can enter multiple values for this parameter.
Top |
Specifies the job name to be used if submitting the job for batch processing.
Any value for this parameter is ignored if *NONE is specified for the Job description prompt (JOBD parameter).
Note: If *NONE is specified for the Job description prompt (JOBD parameter), job processing is performed interactively.
The possible job name values are:
Top |
Specifies the job description used to submit the job for batch processing.
The possible job description values are:
The possible library values are:
Top |
Example 1: Printing a Summary Transaction Report
PRTTNSRPT MBR(TUESAM)
This command produces a summary transaction report. The data input to the report is all the data that exists in member TUESAM in library QPFRDATA. The request is sent to batch. The report output is directed to the output queue specified in the job description, QPFRJOBD.
Example 2: Printing a Transaction Detail Report
PRTTNSRPT MBR(TUESAM) RPTTYPE(*TNSACT) SLTJOB(WS01)
This command produces a transaction detail report for the selected job, WS01. The request is sent to batch. The report output is directed to the output queue specified in the job description, QPFRJOBD.
Top |
None
Top |