Change Graph Package (CHGGPHPKG)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Graph Package (CHGGPHPKG) command changes a graph package that includes one or more graph formats.

Top

Parameters

Keyword Description Choices Notes
GPHPKG Graph package Qualified object name Required, Key, Positional 1
Qualifier 1: Graph package Name
Qualifier 2: Library Name, QPFRDATA, *CURLIB
TEXT Text 'description' Character value, *BLANK, *SAME Optional
GPHFMT Graph format Single values: *SAME, *SELECT
Other values (up to 25 repetitions): Name
Optional
Top

Graph package (GPHPKG)

Specifies the graph package to create or change.

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, QGPL 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.

This is a required parameter.

Top

Text 'description' (TEXT)

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

*SAME
The text does not change.
*BLANK
The text description for the graph format or graph package is left blank.
description
Specify text no more than 50 characters enclosed in apostrophes.
Top

Format (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 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.
Top

Examples

Example 1: Changing Graph Package to Contain Three Formats

CHGGPHPKG   GPHPKG(EXAMPLE)  TEXT('THIS IS AN EXAMPLE')
            GPHFMT(GPH1 GPH9 GPH12)

This command changes a graph package called EXAMPLE to contain three formats, GPH1, GPH9, and GPH12. 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(MYGPH1 MYGPH2)

This command changes a graph package called MYPKG to contain the formats of MYGPH1 and MYGPH2. MYPKG is located in the MYLIB library.

Top

Error messages

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