CRTGPHPKG (Create Graph Package)

Note: To use this command, have the 5722-PT1 (Performance Tools for iSeries) licensed program installed.

CRTGPHPKG Command syntax diagram

 

Purpose

The Create Graph Package (CRTGPHPKG) command creates a graph package that contains one or more graph formats.

 

Required Parameters

GPHPKG
Specifies the graph package to create or change.

The possible library values are:

  • QPFRDATA: The graph package is created in the IBM-supplied performance data library, QPFRDATA.
  • *LIBL: The library list is used to locate the graph package.
  • *CURLIB: The graph package is created in the current library for the job. 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 created.

package-name: Specify the name of the graph package.

 

Optional Parameters

TEXT
Specifies user-defined text that briefly describes the graph format or graph package.

*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.

*SELECT: Shows a list of graph formats to select to be included in the graph package. This value is valid only in an interactive environment.

format-name: Specify the graph format to be included in the graph package. Up to 25 format names can be specified.

Examples for CRTGPHPKG

Example 1: Creating a Package that Contains Three Formats

CRTGPHPKG  GPHPKG(EXAMPLE)
  TEXT('THIS IS AN EXAMPLE')
  GPHFMT(GPh2 GPH9 GPh22)

This command creates a graph package called EXAMPLE, which contains three formats, GPh2, GPH9, and GPh22. This package is saved in the default library, QPFRDATA.

Example 2: Creating a Package that Contains Two Formats

CRTGPHPKG  GPHPKG(MYLIB/MYPKG)
  TEXT('MY PACKAGE') GPHFMT(MYGPh2 MYGPH2)

This command creates a graph package called MYPKG which contains the formats of MYGPh2 and MYGPH2. MYPKG is saved in library MYLIB.

Error messages for CRTGPHPKG

*ESCAPE Messages

PFR9011
Graph package &2 already exists in library &1.
PFR9013
Graph format &2 cannot be added.
PFR9032
Too many formats selected.