CHGGPHPKG (Change Graph Package)
Note: To use this command, have the 5722-PT1 (Performance Tools for iSeries) licensed program installed.
CHGGPHPKG Command syntax diagram
Purpose
The Change Graph Package (CHGGPHPKG) command changes a graph package that includes one or more graph formats.
Required Parameters
- GPHPKG
- Specifies the graph package to create or change.
The possible library values are:
- QPFRDATA: The IBM-supplied performance data library, QPFRDATA, is where the graph package is located.
- *LIBL: The library list is used to locate the graph package.
- *CURLIB: The current library for the job is used to locate the graph package. If no library is specified as the current library for the job, the QGPL library is used.
- library-name: Specify the name of the library where the graph package is located.
graph-package: Specify the name of the graph package.
Optional Parameters
- TEXT
- Specifies the user-defined text that briefly describes the graph format or graph package. More information on this parameter is in Commonly used parameters.
*SAME: The text does not change.
*BLANK: The text description for the graph format or graph package is left blank.
'description': Specify no more than 50 characters of text, enclosed in apostrophes.
- GPHFMT
- Specifies the graph formats to include in the graph package.
*SAME: The list of graph formats does not change.
*SELECT: Shows a list of graph formats that can be included in the graph package. This value is valid only in an interactive environment.
format-name: Specify the graph formats to be included in the graph package. Up to 25 format names can be specified.
Examples for CHGGPHPKG
Example 1: Changing Graph Package to Contain Three Formats
CHGGPHPKG GPHPKG(EXAMPLE) TEXT('THIS IS AN EXAMPLE') GPHFMT(GPh2 GPH9 GPh22)This command changes a graph package called EXAMPLE to contain three formats, GPh2, GPH9, and GPh22. This package is located in the default library, QPFRDATA.
Example 2: Changing Graph Package to Contain Two Formats
CHGGPHPKG GPHPKG(MYLIB/MYPKG) TEXT('MY PACKAGE') GPHFMT(MYGPh2 MYGPH2)This command changes a graph package called MYPKG to contain the formats of MYGPh2 and MYGPH2. MYPKG is located in the MYLIB library.
Error messages for CHGGPHPKG
*ESCAPE Messages
- CPF0011
- Error detected by prompt override program.
- PFR9012
- Graph package &2 not found in library &1.
- PFR9013
- Graph format &2 cannot be added.
- PFR9032
- Too many formats selected.