Aller au contenu

CPF6A3B

L'application n'est pas ouverte pour l'impression.

Application not open for print.

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

Cause

Une demande d'impression d'un panneau a été effectuée, mais l'application n'a pas été ouverte pour l'impression.

A request was made to print a panel but the application has not been opened for printing.

Description technique

L'API Imprimer un panneau a été appelée sans ouvrir l'application pour l'impression. Avant d'appeler l'API Imprimer un panneau, le programme d'application doit soit ouvrir l'application pour l'impression en appelant l'API Ouvrir une application d'impression, soit l'ouvrir pour l'affichage en appelant l'API Ouvrir une application d'affichage, puis appeler l'API Ajouter une application d'impression.

The Print Panel API was called without opening the application for print. Before calling the Print Panel API, the application program must either open the application for print by calling the Open Print Application API or open the application for display by calling the Open Display Application API followed by calling the Add Print Application API.

Sur votre IBM i

Afficher la description complète du message :

DSPMSGD RANGE(CPF6A3B) MSGF(QSYS/QCPFMSG)

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

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