+
SPLNBR(*LAST) MBROPT(*REPLACE)
*** Delete the spooled file ***
DLTSPLF FILE(QPMSGD) SPLNBR(*LAST)
*** Repeat the whole operation on the next MSGF ***
DSPMSGD RANGE(*FIRST *LAST) MSGF(ERRMSGF2) +
DETAIL(*BASIC) OUTPUT(*PRINT)
CPYSPLF FILE(QPMSGD) TOFILE(QTEMP/SCANMSG) +
SPLNBR(*LAST) MBROPT(*ADD)
DLTSPLF FILE(QPMSGD) SPLNBR(*LAST)
*** Now run a query on the PF ***
RUNQRY QRY(*NONE) QRYFILE((QTEMP/SCANMSG)) +
OUTTYPE(*DISPLAY) RCDSLT(*YES)
*************************************************
*** For the record selection,
type: ***
*** SCANMSG LIKE ‘%keyword%’ ***
*** replacing keyword with whatever your looking for.
***
*************************************************
*** Delete the PF in QTEMP
DLTF FILE(QTEMP/SCANMSG)
ENDPGM
*************************************************************
Le renouvellement d’un parc IT peut rapidement faire grimper les dépenses. Inventaire incomplet, postes surdimensionnés, manque de standardisation, perte de valeur du matériel et achats réactifs : découvrez les cinq…
Passez à la cybersécurité proactive, transformez la collecte et l’analyse des logs en un bouclier dynamique contre les cybermenaces. Découvrez comment mettre en place une approche SIEM modulaire, évolutive et…