Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Historical Graph (DSPHSTGPH) command produces a graph from the historical data created by the Create Historical Data (CRTHSTDTA) command. The DSPHSTGPH command is intended to give you a historical perspective of your system in a graphic representation.
The CRTHSTDTA command summarizes the performance data collected by Collection Services. The graph format must have been defined by the Create Graph Format (CRTGPHFMT) command. The graph can be directed to a graphics terminal, non-graphics terminal, printer, plotter, and a graphics data format (GDF) file that can be used by other systems. Historical data members can be selectively included in the graph.
It is important that the Create Historical Data (CRTHSTDTA) command has been run for each of the members that you want to include in the graph. If CRTHSTDTA has not been run for a member, it is not included in the graph unless you specify *YES on the Create historical data prompt (CRTHSTDTA parameter) of this command.
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 | ||
LIB | Library | Name, QPFRDATA | Optional, Positional 2 |
TITLE | Title | Character value, *SAME, *MBRTEXT, *BLANK | Optional |
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 |
PERIOD | Time period for report | Element list | Optional |
Element 1: Starting date | Date, *FIRST, *SELECT | ||
Element 2: Ending date | Date, *LAST | ||
CRTHSTDTA | Create historical data | *NO, *YES | 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 |
JOB | Job name | Name, DSPHSTGPH | 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 library in which the historical data created by the Create Historical Data (CRTHSTDTA) command is located.
The possible library values are:
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 members which are to be included in the graph which will specify the time period range of the graph. The members can be selected using the *SELECT value or by specifying a starting and ending date range.
Note: Members which have not had their historical data created are not included on the graph unless CRTHSTDTA(*YES) is specified.
*N may be used in place of an element that precedes the value being specified in order to maintain positioning. For example:
PERIOD(*N 091289)
This example specifies the ending date and uses the default starting date, which is specified by *N.
Specify one of the following values to signify the starting date. Historical information collected before this date is not included in the graph.
The possible Starting Date values are:
Specify one of the following values to signify the ending date. Historical information collected after this date is not included in the graph.
The possible Ending Date values are:
Top |
Specifies whether historical data is to be created for any performance data member that has not had historical data created.
Note: Creating historical data takes more time than most display jobs.
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 job name to be used if submitting a job for batch processing.
If *NONE is specified on 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 a Data File
DSPHSTGPH GRAPH(GRAPHLIB/CPU)
This command shows the historical data file in library QPFRDATA on the user's screen. It is shown using the graph format CPU in library GRAPHLIB. All of the historical information in library QPFRDATA is included in the graph.
Example 2: Saving a Graph
DSPHSTGPH GRAPH(GRAPHLIB/CPU) OUTPUT(*OUTFILE) OUTFILE(USERLIB/USERFILE) OUTMBR(TEST) JOBD(*LIBL/QPFRJOBD)
This command submits a job to save the graph in a GDF file. The graph is saved in the file USERLIB/USERFILE/TEST.
Example 3: Printing a Graph
DSPHSTGPH GRAPH(GRAPHLIB/CPU) OUTPUT(*PRINT) PRTDEV(PRT03) JOBD(*LIBL/QPFRJOBD)
This command submits a job to print the graph on the system printer named PRT03.
Example 4: Printing All Graphs in a Package
DSPHSTGPH GRAPH(GRAPHLIB/PACKAGE1) OUTPUT(*PRINT) PRTDEV(PRT03) TYPE(*GPHPKG) JOBD(*LIBL/QPFRJOBD)
This command submits a job to print all of the graphs defined in PACKAGE1 in GRAPHLIB. The print job is sent to the system printer named PRT03. It uses the historical data members in QPFRDATA for its information.
Example 5: Displaying a Graph
DSPHSTGPH GRAPH(GRAPHLIB/CPU) OUTPUT(*) PERIOD(112799 100900)
This command displays a graph of historical information from 27 NOV 1999 to 9 OCT 2000.
Example 6: Selecting Members to be in a Graph
DSPHSTGPH GRAPH(GRAPHLIB/CPU) MBRLIB(MONDAY) OUTPUT(*) PERIOD(*SELECT *N)
This command shows the historical members selection menu for the members in library MONDAY. The user then selects the members to be shown in the graph.
Top |
*ESCAPE Messages
Top |