A report transformed from AFP to PDF is being produced with 5,000 pages according to the transformation report:
Totals for Components AFP Parser PDF Generator
======================= ============= =============
Total XifDocuments 1 1
Total XifPages 5000 5000
Total XifEndOfDocuments 1 1
However it shows as having 5,001 pages in the Spool menu:
Seqno Filename Dest Q Form Fcb Pages Cpy Pr Sid Stat
3609 TESTPRT P1xxxxxx P xxxxx ASIS 5001 1 14 ****
Release : 14.0
Component : Spool
Published PTFs that solve this problem:
For the base Spool product LU05028:
https://support.broadcom.com/web/ecx/solutiondetails?aparNo=LU05028&os=z/OS
For the Java Transformers LU03300:
https://support.broadcom.com/web/ecx/solutiondetails?aparNo=LU03300&os=z/OS
LU05028 requires a refresh of the CSA modules. If applied without an IPL the following procedure must be followed:
1) Issue the command
F caspoolstc,REINIT,MODULES,ON
where "caspoolstc" is the name of the Spool started task
2) Recycle the Spool started task.