CPYGPHFMT
Copier format de graphique
Copy Graph Format
En bref
La commande Copier un format de graphique (CPYGPHFMT) copie un format de graphique existant dans un format de graphique indiqué par l'utilisateur. The Copy Graph Format (CPYGPHFMT) command copies an existing graph format into a graph format specified by the user.
CPYGPHFMT se lit CPY
(Copier) + GPHFMT.
Sur IBM i, le nom d'une commande associe presque toujours un verbe et un objet.
Syntaxe minimale
CPYGPHFMT FROMFMT(…)
Paramètres
-
FROMFMTFormat d'origine From format obligatoire -
TOFMTFormat cible To format -
REPLACERemplacer Replace
Astuce : dans une session 5250, tapez CPYGPHFMT puis F4 pour
l'invite de saisie, et F1 sur un paramètre pour son aide.
Aide IBM i de la commande
Texte du F1, IBM i 7.5 en français
(bibliothèque QPFR)
Où s'exécute : Tous les environnements (*ALL)
Compatible multitâche : Non
La commande Copier un format de graphique (CPYGPHFMT) copie un format de graphique existant dans un format de graphique indiqué par l'utilisateur. The Copy Graph Format (CPYGPHFMT) command copies an existing graph format into a graph format specified by the user.
Paramètres
| Mot-clé | Description | Valeurs possibles | Remarques |
|---|---|---|---|
| FROMFMT | Format d'origineFrom format | Nom d'objet qualifié | Obligatoire, positionnel 1 |
| Qualificatif 1: Format d'origineQualificatif 1: From format | Nom | ||
| Qualificatif 2: BibliothèqueQualificatif 2: Library | Nom, QPFRDATA, *CURLIB | ||
| TOFMT | Format cibleTo format | Nom d'objet qualifié | Facultatif, positionnel 2 |
| Qualificatif 1: Format cibleQualificatif 1: To format | Nom, *FROMFMT | ||
| Qualificatif 2: BibliothèqueQualificatif 2: Library | Nom, *FROMLIB, *CURLIB | ||
| REPLACE | RemplacerReplace | *NO, *YES | Facultatif |
Format d'origine (FROMFMT)From format (FROMFMT)
Indique le format de graphique à partir duquel la copie est créée. Specifies the graph format from which the copy is to be created.
Ce paramètre est obligatoire. This is a required parameter.
- QPFRDATA
- La bibliothèque de performances fournie par IBM, QPFRDATA, est l'emplacement de la copie du format de graphique. The IBM-supplied performance library, QPFRDATA, is where the copy of the graph format is located.
- *CURLIB
- La bibliothèque en cours du travail est utilisée pour localiser le format de graphique. Si aucune bibliothèque n'est indiquée comme bibliothèque en cours du travail, QGPL est utilisée. The current library for the job is used to locate the graph format. If no library is specified as the current library for the job, QGPL is used.
- nom-bibliothèque
- Indiquez le nom de la bibliothèque où se trouve le format de graphique. Specify the name of the library where the graph format is located.
- format-name
- Indiquez le nom du format de graphique. Specify the name of the graph format.
Les valeurs de bibliothèque possibles sont les suivantes : The possible library values are:
Format cible (TOFMT)To format (TOFMT)
Indique l'emplacement du format de graphique où la copie est créée. Specifies the graph format location where the copy is to be created.
- *FROMLIB
- Le format de graphique se trouve dans la bibliothèque indiquée dans le paramètre FROMFMT. The graph format is located in the library specified on the FROMFMT parameter.
- *CURLIB
- La bibliothèque en cours du travail est l'emplacement de la copie du format de graphique. Si aucune bibliothèque n'est indiquée comme bibliothèque en cours du travail, QGPL est utilisée. The current library for the job is where the copy of the graph format will be located. If no library is specified as the current library for the job, QGPL is used.
- nom-bibliothèque
- Indiquez le nom de la bibliothèque dans laquelle la copie du format de graphique sera placée. Specify the name of the library where the copy of the graph format will be located.
- *FROMFMT
- Le nom de format de graphique indiqué dans le paramètre FROMFMT est utilisé. The graph format name specified on the FROMFMT parameter is used.
- format-name
- Indiquez le nom de la copie du format de graphique. Specify the name of the copy of the graph format.
Les valeurs de bibliothèque possibles sont les suivantes : The possible library values are:
Remplacer (REPLACE)Replace (REPLACE)
Indique s'il faut remplacer le format de graphique de l'invite Format cible (paramètre TOFMT) s'il existe déjà. Specifies whether to replace the graph format in the To format prompt (TOFMT parameter) if the graph format already exists.
- *NO
- Le format de graphique existant n'est pas remplacé par le nouveau format de graphique. The existing graph format is not replaced with the new graph format.
- *YES
- Le format de graphique existant est remplacé par le nouveau format de graphique. The existing graph format is replaced with the new graph format.
Exemples
Exemple 1 : Envoi d'une copie vers la bibliothèque par défaut Example 1: Sending a Copy to the Default Library
CPYGPHFMT FROMFMT(MYFMT) TOFMT(YOURFMT)
Cette commande fait une copie de MYFMT et l'envoie vers YOURFMT dans la bibliothèque QPFRDATA. This command makes a copy of MYFMT and sends it to YOURFMT in the QPFRDATA library.
Exemple 2 : Envoi d'une copie vers une bibliothèque indiquée Example 2: Sending a Copy to a Specified Library
CPYGPHFMT FROMFMT(MYLIB/FMT1) TOFMT(YOURLIB/FMT2)
Cette commande fait une copie de FMT1 dans la bibliothèque MYLIB et l'envoie vers FMT2 dans la bibliothèque YOURLIB. This command makes a copy of FMT1 in the MYLIB library and sends it to FMT2 in the YOURLIB library.
Messages d'erreur
Messages *ESCAPE *ESCAPE Messages
- PFR9043
- &1 n'existe pas dans la bibliothèque &2. &1 does not exist in library &2.
© Copyright IBM Corp. Texte d'aide reproduit à des fins de formation.