Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Copy Graph Format (CPYGPHFMT) command copies an existing graph format into a graph format specified by the user.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FROMFMT | From format | Qualified object name | Required, Positional 1 |
Qualifier 1: From format | Name | ||
Qualifier 2: Library | Name, QPFRDATA, *CURLIB | ||
TOFMT | To format | Qualified object name | Optional, Positional 2 |
Qualifier 1: To format | Name, *FROMFMT | ||
Qualifier 2: Library | Name, *FROMLIB, *CURLIB | ||
REPLACE | Replace | *NO, *YES | Optional |
Top |
Specifies the graph format from which the copy is to be created.
This is a required parameter.
The possible library values are:
Top |
Specifies the graph format location where the copy is to be created.
The possible library values are:
Top |
Specifies whether to replace the graph format in the To format prompt (TOFMT parameter) if the graph format already exists.
Top |
Example 1: Sending a Copy to the Default Library
CPYGPHFMT FROMFMT(MYFMT) TOFMT(YOURFMT)
This command makes a copy of MYFMT and sends it to YOURFMT in the QPFRDATA library.
Example 2: Sending a Copy to a Specified Library
CPYGPHFMT FROMFMT(MYLIB/FMT1) TOFMT(YOURLIB/FMT2)
This command makes a copy of FMT1 in the MYLIB library and sends it to FMT2 in the YOURLIB library.
Top |
Top |