Aller au contenu

Message d'erreur IBM i (AS/400)

CPFA345

L'indicateur d'invitation active n'est pas valide.

The invite active flag is not valid.

Gravité 40 · Fin anormale du programme ou de la fonction

Cause

Un appel à QsnReadInvited a été effectué, mais la fonction n'a pas pu être exécutée. Soit l'indicateur d'invitation active de l'environnement n'est pas activé, soit il est activé mais l'unité n'est pas invitée.

A call was made to QsnReadInvited, but the function could not be completed. Either the invite active flag in the environment is not turned on, or the invite active flag is on, but the device is not invited.

Que faire

Si l'indicateur d'invitation active n'est pas activé, modifiez la description de l'environnement de bas niveau à l'aide de QsnChgEnv et activez l'indicateur d'invitation active. S'il est activé, assurez-vous que des données ont été écrites à l'écran avec l'indicateur d'invitation active activé avant l'appel de QsnReadInvited. Renouvelez votre demande.

If the invite active flag is not on, change the low level environment description using QsnChgEnv, and turn on the invite active flag. If the invite active flag is on, make sure that data was written to the screen with the invite active flag on, before the call to QsnReadInvited. Try the request again.

Sur votre IBM i

Afficher la description complète du message :

DSPMSGD RANGE(CPFA345) MSGF(QSYS/QCPFMSG)

L'intercepter dans un programme CL, quand il est envoyé comme message d'échappement :

MONMSG MSGID(CPFA345) EXEC(DO)
  /* traitement de l'erreur */
ENDDO