Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
GRAPH | Graph format or package | Qualified object name | Required, Positional 1 |
Qualifier 1: Graph format or package | Name | ||
Qualifier 2: Library | Name, QPFRDATA, *CURLIB | ||
MBR | Member | Name | Required, Positional 2 |
LIB | Library | Name, QPFRDATA | Optional, Positional 3 |
TITLE | Title | Character value, *SAME, *MBRTEXT, *BLANK | Optional, Positional 4 |
SUBTITLE | Subtitle | Character value, *SAME, *MBRTEXT, *BLANK | Optional |
OUTPUT | Output | *, *PRINT, *PLOT, *OUTFILE | Optional |
OUTFILE | Output file | Qualified object name | Optional |
Qualifier 1: Output file | Name | ||
Qualifier 2: Output file library | Name, *LIBL, *CURLIB | ||
OUTMBR | Output file member | Element list | Optional |
Element 1: Member name | Name, *FIRST | ||
Element 2: Replace or add records | *REPLACE, *ADD | ||
PLTSPD | Plotter speed | 1-100, 100 | Optional |
PLTPEN | Plotter pen width | 1-10, 3 | Optional |
PLTADR | Plotter address | 1-31, 1 | Optional |
PRTDEV | Printer device or type | Name, 4214, 4234, 522X, *IPDS, *NONGRAPHIC | Optional |
OUTQ | Output queue | Single values: *PRTDEV Other values: Qualified object name |
Optional |
Qualifier 1: Output queue | Name | ||
Qualifier 2: Library | Name, *LIBL | ||
PAGELEN | Page length | *PRTDEV, 51, 66 | Optional |
TYPE | Type | *GPHFMT, *GPHPKG | Optional |
XAXIS | X-axis | Element list | Optional |
Element 1: Range |
Single values: *SAME, *AUTO Other values: Element list |
||
Element 1: First | 0-99999 | ||
Element 2: Last | 0-99999 | ||
YAXIS | Y-axis | Element list | Optional |
Element 1: Range |
Single values: *SAME, *AUTO Other values: Element list |
||
Element 1: First | 0-99999 | ||
Element 2: Last | 0-99999 | ||
AREAFILL | Area fill | *SAME, *YES, *NO | Optional |
PERIOD | Time period for report | Element list | Optional |
Element 1: | Element list | ||
Element 1: Starting time | Time, *FIRST | ||
Element 2: Starting date | Date, *FIRST | ||
Element 2: | Element list | ||
Element 1: Ending time | Time, *LAST | ||
Element 2: Ending date | Date, *LAST | ||
SLTJOB | Select jobs | Single values: *ALL Other values (up to 50 repetitions): Qualified job name |
Optional |
Qualifier 1: Select jobs | Generic name, name | ||
Qualifier 2: User | Generic name, name | ||
Qualifier 3: Number | 000000-999999 | ||
OMTJOB | Omit jobs | Single values: *NONE Other values (up to 50 repetitions): Qualified job name |
Optional |
Qualifier 1: Omit jobs | Generic name, name | ||
Qualifier 2: User | Generic name, name | ||
Qualifier 3: Number | 000000-999999 | ||
SLTUSER | Select users | Single values: *ALL Other values (up to 50 repetitions): Generic name, name |
Optional |
OMTUSER | 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 |
Optional |
OMTPOOLS | Omit pools | Single values: *NONE Other values (up to 64 repetitions): 1-64 |
Optional |
SLTSBS | Select subsystems | Single values: *ALL Other values (up to 50 repetitions): Name |
Optional |
OMTSBS | Omit subsystems | Single values: *NONE Other values (up to 50 repetitions): Name |
Optional |
SLTLINE | Select communications lines | Single values: *ALL Other values (up to 50 repetitions): Name |
Optional |
OMTLINE | Omit communications lines | Single values: *NONE Other values (up to 50 repetitions): Name |
Optional |
SLTCTL | Select control units | Single values: *ALL Other values (up to 50 repetitions): Name |
Optional |
OMTCTL | Omit control units | Single values: *NONE Other values (up to 50 repetitions): Name |
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, DSPPFRGPH, *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 graph format or graph package used to create the graph.
This is a required parameter.
The possible library values are:
Since the following are not elements, they are mutually exclusive. Therefore, specify the name of the graph format or specify the name of the graph package. You cannot specify them at the same time.
Top |
Specifies the performance data to be used in your performance graph. Specify the name of the member.
This is a required parameter.
Top |
Specifies the library in which the performance data member to be used in the graph is located.
Top |
Specifies a title to display at the top of the graph or each graph of a package.
Top |
Specifies a subtitle to display at the top of the graph or each graph of a package.
Top |
Specifies whether the graph is to be displayed, printed, plotted, or saved in a graphics data format (GDF) file.
Your display station can be either a graphics or nongraphics display station. A graphics display station shows the graph with colors, shading, and so forth. A nongraphics display station shows the graph using characters you choose to represent colors, shading, and so forth.
Once your graph is shown, you can define one overlay. An overlay is a graph that is placed on top of the current graph.
Note:
The appearance of graphs printed or displayed by graphical devices can be different from how they appear when printed or displayed by nongraphical devices, especially when *AUTO is specified for the Y (vertical) axis.
You can use this file to display the graph on any system supporting the graphical data display manager function or the Business Graphics Utility licensed program.
Note:
Graph packages cannot be sent to a GDF file.
Top |
Specifies the library and file in which the graph data format is to be saved. This parameter is only valid when OUTPUT(*OUTFILE) is specified. The graph is saved in a graphics data format (GDF) file.
The possible library values are:
Top |
Specifies the format member in which the graph is to be saved. This parameter is valid only when OUTPUT(*OUTFILE) is specified.
The possible optional values are:
Top |
Specifies the speed at which the plotter creates the graph. A larger value represents a faster plotting rate. The smaller the value the better the plotting quality of the graph. This parameter is valid only when OUTPUT(*PLOT) is specified.
Top |
Specifies the pen width in which to shade the graph. The smaller the value, the closer together the lines will be for shading. If you choose a small value, the graph takes longer to plot. If the value is too large, the shading will have gaps in it. This parameter is valid only when OUTPUT(*PLOT) is specified.
Top |
Specifies the plotter address for the terminal on which the graph is to be created.
Top |
Specifies the name of the printer or the type of printer on which the graph is to be printed. If a printer name is used, for example, PRT01, PRT02, and so on, the output is spooled to the output queue of the printer. If a printer type is specified, for example, 4214, the output is spooled to the output queue specified on the Output queue prompt (OUTQ parameter). This parameter is valid only when OUTPUT(*PRINT) is specified.
Top |
Specifies the name and library of the output queue to which the printer file is to be sent.
The possible library values are:
Top |
Specifies the page length for graphs. The PAGELEN parameter is valid only when OUTPUT(*PRINT) is specified.
Top |
Specifies whether the graph is a graph format or a graph package.
Top |
Specifies the range used on the X-axis.
The possible Starting Number value is:
The possible Ending Number value is:
Top |
Specifies the range used on the Y-axis.
The possible Starting Number value is:
The possible Ending Number value is:
Top |
Specifies whether the graph is to be displayed with surfaces and bars filled in with a shading pattern.
This parameter allows you to display detailed graphs quickly. If you specify AREAFILL(*NO) on this command when you have specified AREAFILL(*YES) on the CRTGPHFMT command, the graph is displayed more quickly. This is caused by the fact that it takes longer to fill in areas with shading patterns than it does to draw lines. Also, the more dense the shading pattern, the more time it takes. These issues are important if time is short and graphic quality is not momentarily important.
Top |
Specifies the period of time for which to collect performance information for the performance graph. The starting and ending times and dates consists of four elements:
PERIOD((start-time start-date) (end-time end-date))
*N can be used in place of an element that precedes the value being specified in order to maintain positioning. For example, PERIOD(*N(*N 091289)) specifies the ending date and the default values for start-time, start-date, and end-time.
One of the following values is used to specify the starting time. Information collected before the starting time and starting date is not included on the graph.
The possible Starting Time values are:
The time can be specified with or without a time separator:
The time is in 24-hour format; for example, use 13:00 for 1 p.m.
One of the following values is used to specify the starting date. Information collected before the starting time on the date specified on this parameter is not included on the graph.
The possible Starting Date values are:
One of the following values is used to specify the ending time. Information collected after the ending time and ending date is not included on the graph.
The possible Ending Time values are:
One of the following values is used to specify the ending date. Information collected after the ending time and ending date is not included on the graph.
The possible Ending Date values are:
Top |
Specifies a list of up to 50 jobs to select. Only specified jobs are included on the graph.
A job identifier is either the special value *ALL or a qualified name with up to three elements, for example:
*ALL job-name user-name/job-name job-number/user-name/job-name
*N can be used in place of an element that follows the values being specified in order to maintain positioning. For example, 123456/*N/*N specifies only the job number 123456, regardless of the job and user names. Without the *N's, 123456 would have been interpreted as the job name, and not the job number.
Note: The Select jobs prompt (SLTJOB parameter) and the Omit jobs prompt (OMTJOB parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 jobs to omit. All jobs specified are excluded from the graph.
A job identifier is either the special value *NONE or a qualified name with up to three elements. *N can be used in place of an element to maintain the position in the parameter value sequence.
Note: The Select jobs prompt (SLTJOB parameter) and Omit jobs prompt (OMTJOB parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 user names to select. Only jobs with one of the specified user names are included on the graph.
Note: The Select users prompt (SLTUSER parameter) and Omit users prompt (OMTUSER parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 user names to omit. Jobs with any of the names specified are excluded from the graph.
Note: The Select users prompt (SLTUSER parameter) and Omit users prompt (OMTUSER parameter) are mutually exclusive.
Top |
Specifies a list of up to 64 pools to select. Only jobs running in one of the specified pools are included on the graph.
Note: The Select pools prompt (SLTPOOLS parameter) and Omit pools prompt (OMTPOOLS parameter) are mutually exclusive.
Top |
Specifies a list of up to 64 pools to omit. Jobs running in the specified pools are excluded from the graph.
Note: The Select pools prompt (SLTPOOLS parameter) and Omit pools prompt (OMTPOOLS parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 subsystems to select. Only jobs running in one of the specified subsystems are included on the graph.
Note: The Select subsystems prompt (SLTSBS parameter) and Omit subsystems prompt (OMTSBS parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 subsystems to omit. Jobs running in the specified subsystems are excluded from the graph.
Note: The Select subsystems prompt (SLTSBS parameter) and Omit subsystems prompt (OMTSBS parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 communications lines to select. Only jobs using a remote device connected through one of the specified communications lines are included on the graph.
Note: The Select communications lines prompt (SLTLINE parameter) and Omit communications lines prompt (OMTLINE parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 communications lines to omit. Jobs using a remote device connected through any of the specified lines are excluded from the graph.
Note: The Select communications lines prompt (SLTLINE parameter) and Omit communications lines prompt (OMTLINE parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 communications controllers to select. Only jobs using a device connected to one of the specified communications controllers are included on the graph.
Note: The Select control units prompt (SLTCTL parameter) and Omit control units prompt (OMTCTL parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 communications controllers to omit. Jobs using a device connected to any of the specified communications controllers are excluded from the graph.
Note: The Select control units prompt (SLTCTL parameter) and Omit control units prompt (OMTCTL parameter) are mutually exclusive.
Top |
Specifies a list of up to 50 functional areas to select. Only jobs identified in one of the functional areas are included on the graph.
A functional area is a list of jobs and/or user names previously defined by the user. Information on defining functional areas is in the Performance Tools for iSeries book.
Note: The Select functional areas prompt (SLTFCNARA parameter) and Omit functional areas prompt (OMTFCNARA parameter) are mutually exclusive.
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 graph.
A functional area is a list of job and user names previously defined by the user. Information on defining functional areas is found in the Performance Tools for iSeries book.
Note: The Select functional areas prompt (SLTFCNARA parameter) and Omit functional areas prompt (OMTFCNARA parameter) are mutually exclusive.
Top |
Specifies the job name to be used if submitting a job for batch processing.
If *NONE is specified for the Job description prompt (JOBD parameter), this parameter is ignored and job processing is performed interactively.
The possible job-name values are:
Top |
Specifies the job description used to submit jobs for batch processing.
Top |
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.
Top |
*ESCAPE Messages
Top |