Message d'erreur IBM i (AS/400)
CPF70D1
Impossible d'activer un journal éloigné via la commande CHGJRN.
Gravité 40 · Fin anormale du programme ou de la fonction
Cause
L'état du journal &1 dans la bibliothèque &2 n'a pas été modifié car l'activation d'un journal éloigné n'est pas admise via la commande CHGJRN.
Que faire
Activez un journal éloigné à partir du système source à l'aide de la commande CHGRMTJRN ou de l'API QjoChangeJournalState.
Description technique
Pour les spécifications des commandes CL, consultez la collection de rubriques CL de la catégorie Programmation dans l'IBM i Information Center, http://www.ibm.com/systems/i/infocenter/. Pour les spécifications des API, consultez la collection de rubriques API de la catégorie Programmation dans l'IBM i Information Center, http://www.ibm.com/systems/i/infocenter/. Pour les considérations relatives aux journaux distants, consultez la collection de rubriques Gestion des journaux de la catégorie Gestion des systèmes dans l'IBM i Information Center, http://www.ibm.com/systems/i/infocenter/.
See the CL topic collection in the Programming category in the IBM i Information Center, http://www.ibm.com/systems/i/infocenter/ for the CL command specifications. See the APIs topic collection in the Programming category in the IBM i Information Center, http://www.ibm.com/systems/i/infocenter/ for the API specifications. See the Journal management topic collection in the Systems management category in the IBM i Information Center, http://www.ibm.com/systems/i/infocenter/ for remote journal considerations.
Variables du message
Quand le système envoie le message, chaque variable est remplacée par une valeur réelle : un nom d'objet, de bibliothèque, un code...
| Variable | Type | Longueur |
|---|---|---|
| &1 | *CHAR |
10 |
| &2 | *CHAR |
10 |
Sur votre IBM i
Afficher la description complète du message :
DSPMSGD RANGE(CPF70D1) MSGF(QSYS/QCPFMSG)
L'intercepter dans un programme CL, quand il est envoyé comme message d'échappement :
MONMSG MSGID(CPF70D1) EXEC(DO)
/* traitement de l'erreur */
ENDDO