In AS400, when submitting a Job the module U_CPY_COPY creates a Spool File as follows:
Mensaje . . . . : 100 - OVRPRTF FILE(QPRTSPLF) OUTQ(QPRINT)
SPLFNAME(LIST651713)
23/01/20 00:22:18,772188 QCADRV QSYS 041C U_CPY_COPY DOLLAR *STMT
Módulo destino . . . . . . : U_CPY_COPY
Procedimiento destino . . . : U_CPY_COPY
Sentencia . . . . . . . . . : 102
Módulo destino . . . . . . : U_CPY_COPY
Procedimiento destino . . . : U_CPY_COPY
Sentencia . . . . . . . . . : 105
Mensaje . . . . : 105 - CPYSPLF FILE(LIST651713) TOFILE(QTEMP/LISTOUTQ)
SPLNBR(*LAST) MBROPT(*REPLACE)
23/01/20 00:22:21,885261 QCADRV QSYS 041C U_CPY_COPY DOLLAR *STMT
Módulo destino . . . . . . : U_CPY_COPY
Procedimiento destino . . . : U_CPY_COPY
Sentencia . . . . . . . . . : 107
Mensaje . . . . : 109 - DLTSPLF FILE(LIST651713) SPLNBR(*LAST)
23/01/20 00:22:21,886753 QCADRV QSYS 041C U_CPY_COPY DOLLAR *STMT
Módulo destino . . . . . . : U_CPY_COPY
Procedimiento destino . . . : U_CPY_COPY
Sentencia . . . . . . . . . : 110
This generates a Spool File LISTxxxxxx for each execution which remains in status END and that can't be Displayed.
For example, LIST651713:
Why the file is not deleted upon execution?
OS: AS400
Release : 6.x
Component : DOLLAR UNIVERSE