CL Command Reference - DSPPFRGPH
CL Command List > DSPPFRGPH Reference
Description:
The Display Performance Graph (DSPPFRGPH) command produces a graph from the performance data collected by Collection Services.
The graph format must have been defined on the Create Graph Format (CRTGPHFMT) command. The graph can be sent as output to a graphics terminal, nongraphics terminal, printer, plotter, and a graphics data format (GDF) file that can be used by other systems. Jobs can be selectively included or omitted from the graph.
Examples:
Example 1: Displaying Performance Data Files
DSPPFRGPH GRAPH(GRAPHLIB/CPU) MBR(QPFRDATA/JUN1)
TITLE(*MBRTEXT)
This command displays the performance data files in library QPFRDATA member JUN1. It is displayed as specified by graph format CPU in library GRAPHLIB. The report title is taken from the text of the member.
Example 2: Saving a Graph
DSPPFRGPH GRAPH(GRAPHLIB/CPU) MBR(JUN1) OUTPUT(*OUTFILE)
OUTFILE(USERLIB/USERFILE) OUTMBR(TEST)
JOBD(*LIBL/QPFRJOBD)
This command submits a job to save the graph of performance data from file member JUN1, which is in library QPFRDATA, in a GDF file. The graph is saved in file USERLIB/USERFILE/TEST (file member TEST in file USRFILE, which is in library USRLIB).
Example 3: Printing a Graph
DSPPFRGPH GRAPH(GRAPHLIB/CPU) MBR(JUN1) OUTPUT(*PRINT)
PRTDEV(PRT03) JOBD(*LIBL/QPFRJOBD)
This command submits a job to print the graph of performance data from file member JUN1, which is in library QPFRDATA, on the system printer named PRT03.
Example 4: Printing All Graphs
DSPPFRGPH GRAPH(GRAPHLIB/PACKAGE1) MBR(JUN1) OUTPUT(*PRINT)
PRTDEV(PRT03) JOBD(*LIBL/QPFRJOBD) TYPE(*GPHPKG)
This command submits a job to print all of the graphs defined in PACKAGE1 in GRAPHLIB. The print job is sent to system printer PRT03. It¡¯s data source is in performance data member JUN1 in library QPFRDATA.
Example 5: Displaying a Graph
DSPPFRGPH GRAPH(GRAPHLIB/CPU) MBR(JUN1) OUTPUT(*)
PERIOD((2330)(0130))
This command displays a graph of the data collected from 11:30 PM on the first day of collection through 1:30 AM on the last day of collection. However, if data collection started and ended on the same day, an error message is printed, because the specified ending date and time precedes the specified starting date and time.
Example 6: Displaying a Graph for Selected Users
DSPPFRGPH GRAPH(GRAPHLIB/CPU) MBR(JUN1) OUTPUT(*)
PERIOD((2330)(0130)) SLTUSER(D46*)
This command displays a graph of the performance data collected for all the jobs whose user ID starts with D46 from 11:30 PM on the first day of collection through 1:30 AM on the last day of collection. However, if data collection started and ended on the same day, an error message is printed, because the specified ending date and time precedes the specified starting date and time.