How to select sysouts from JES2 by Class and Destination at the same time? The sysout has to have one of some specific classes AND a valid CA Spool destination otherwise it should not be selected.
If you want, for example, that CA Spool selects from JES just sysouts with class=W AND destination PRINTERA to be select I recommend the following configuration:
1) Include the parameter XFERCLAS=W :
XFERLCLAS=W
2) Include the parameter XFEROPT=6. This a special setting that causes CA Spool to select from JES2 only files that have both a sysout class pointed by the XFERCLAS parameter and a valid CA Spool destination.
XFEROPT=6
6 -- Perform file selection on both destination and XFERCLAS at the same time.
3) If not currently set you need to include XFERDEST with one of the options below:
XFERDEST=FORCE
XFERDEST=DEST
You need to recycle the CA Spool started task to make these changes effective. The REINIT command won't refresh these parameters.