Printer files Held after new CLASS=Q added
search cancel

Printer files Held after new CLASS=Q added

book

Article ID: 130637

calendar_today

Updated On:

Products

Spool

Issue/Introduction

Files received via NJE with class Q are staying in hold queued to the destination printer in CA Spool. The user has to manually release the files.

Environment

Release:
Component: CSPOOL

Cause

The class Q was defined with OUTDISP=(HOLD,HOLD) in JES2. The JES2 command $DOUTCLASS(Q) can be used to confirm this assumption:

$DOUTCLASS(Q)                                          
$HASP842 OUTCLASS(Q) 304                               
$HASP842 OUTCLASS(Q)  OUTPUT=PRINT,BLNKTRNC=YES,       
$HASP842              OUTDISP=(HOLD,HOLD),TRKCELL=YES

Resolution

There are 2 alternative solutions:

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

 

Additional Information

https://docops.ca.com/ca-spool/14-0/en/initialization-options/initialization-parameters-a-m/destid-forced-value-assignment-parameters#DESTID--ForcedValueAssignmentParameters-FNORDISP