Aller au contenu

Message d'erreur IBM i (AS/400)

CPF7A17

La trace est déjà active.

Trace already is active.

Gravité 30 · Erreur grave

Cause

Une commande TRCINT a été tentée pour une table de trace active avec l'une des options suivantes : SET(*SIZE) indiqué ; SET(*ON) avec le paramètre SIZE indiqué ; SET(*ON) avec le paramètre TRCTYPE(*TTPERF) indiqué.

A TRCINT command was attempted for an active trace table with either - SET(*SIZE) specified - SET(*ON) with the SIZE parameter specified. - SET(*ON) with TRCTYPE(*TTPERF) parameter specified.

Que faire

Effectuez l'une des opérations suivantes, puis relancez la commande TRCINT. 1) Si vous indiquez SET(*ON), omettez le paramètre SIZE ou le paramètre TRCTYPE(*TTPERF). 2) Imprimez les enregistrements de trace existants en indiquant SET(*OFF). 3) Écrivez les enregistrements de trace existants sur bande ou disquette en indiquant SET(*SAVE). 4) Effacez les enregistrements de trace existants en indiquant SET(*END).

Do one of the following, then try the TRCINT command again. 1) If specifying SET(*ON), either omit the SIZE parameter or the TRCTYPE(*TTPERF) parameter. 2) Print the existing trace records by specifying SET(*OFF). 3) Write the existing trace records to tape or diskette by specifying SET(*SAVE). 4) Clear the existing trace records by specifying SET(*END).

Sur votre IBM i

Afficher la description complète du message :

DSPMSGD RANGE(CPF7A17) MSGF(QSYS/QCPFMSG)

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

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