1) Change the JES2 parameters to make the OUTDISP of the class Q "WRITE,WRITE" This can be changed dynamically with the JES2 command below:
$TOUTCLASS(Q),OUTDISP=(WRITE,WRITE)
For a permanent resolution the JES2 parameters must be changed accordingly.
2) Include a DESTID statement in the CA Spool ESFPARM file to change the normal file disposition to "W":
DESTID QDEST=IP3842,FNORDISP=W
Possible FNORDISP values are:
W Prints and purges the file. H Holds the file. If the file is released, it is printed and purged. K Prints and keeps the file. L Holds the file. If the file is released, it is printed and kept. P Purges and prints the file