Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Print Lock Report (PRTLCKRPT) command produces a report that shows lock and seize conflicts that occur during system operation. The report is produced from the resource management trace data collected by the Start Performance Trace (STRPFRTRC) command and formatted by the Print Transaction Report (PRTTNSRPT) command. This information can be used to determine if jobs are delayed during processing because of unsatisfied lock requests or internal machine seizes (these conditions are also known as waits).
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
MBR | Data base file member | Name | Required, Positional 1 |
LIB | Data base file library | Name, QPFRDATA | Optional, Positional 2 |
TITLE | Report title | Character value, *MBRTXT, *BLANK | Optional, Positional 3 |
RPTTYPE | Report type | *SUM, *TOD, *RQS, *HLD, *OBJ, *ALL | Optional |
FIRST | First run for current data | *YES, *NO | Optional |
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 | ||
MINWAIT | Minimum wait time | 0-30000, 500 | Optional |
JOB | Job name | Name, PRTLCKRPT, *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 member in file QAPMDMPT in which the resource management trace data is collected by the Start Performance Trace (STRPFRTRC) command.
This is a required parameter.
Top |
Specifies the library where the data is saved.
Top |
Specifies the title for the report that is created.
Top |
Specifies the type of reports that are produced.
Top |
Specifies whether the Print Lock Report (PRTLCKRPT) command was run since the last set of resource management trace data was collected.
Top |
Specifies the period of time on which to report.
Starting Time
Records created before this time are not included in either the detail or summary listing.
The time can be specified with or without a time separator:
Ending Time
Records created after this time are not included in either the detail or summary listing.
Top |
Specifies the minimum wait time for a seize/lock record that is included in the report. Records with shorter wait times are not included in either the detail or summary listing.
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: Producing a Summary Report
PRTLCKRPT MBR(RESTRC)
This command produces a summary report from the performance data saved in member RESTRC of QPFRDATA/QAPMDMPT from a prior run of the Start Performance Trace (STRPFRTRC) and Print Transaction Report (PRTTNSRPT) commands.
Example 2: Including a Detail Listing Sorted By Time
PRTLCKRPT MBR(RESTRC) RPTTYPE(*TOD)
This command produces the same report as the previous example, except that it includes a detail listing sorted by the time in which the lock/seize conflicts occurred.
Top |
*ESCAPE Messages
Top |