When opening AFP files transformed to PDF in Webviewer sometimes the following error occurs:
+CAHVS1344E PDF file allocate failed, RC=4, Error/Info Code=17088017
The problem is intermittent. Reloading the page usually works and the PDF is opened.
This problem may be caused either by the missing TRANSFRM 'w' option on the DEFNODE/NODE definition responsible for transforming files and/or MAXTASK in the definition of the Transformers Functional Subsystem (FSS) in the Spool ESFPARMs.
Also, a mismatch of this number with the parameter maxConcurrentJobs in the system configuration file may cause this type of problem.
Add the TRANSFRM 'w' option to the DEFNODE/NODE definition responsible for transforming files and set the value of MAXTASK according to the number of concurrent transformations required by your environment.
X2YY START=YES, Transformer Interface
MAXFILES=10 Max text wrapper subtasks
X2YYDEF x2yyname, Transformation FSS name
PROC=CAIQD2E, FSS JCL procedure name
MAXTASK=5, Max concurrent transformations
DEFAULT=YES Implicit X2YYDEF
DEFNODE A2PDF,AFP2PDF,TCPHOST=DUMMY,TCPDRIV=DISK
NODE DRASA2PD,A2PDF,GROUP=1,X2YY=x2yyname,TRANSFRM=A2PDwT
Also, make sure the maxConcurrentJobs in the Java Transformers' system configuration file matches the number defined in the ESFPARM. The system configuration file is defined on the CONFIG environment variable statement in CE0CPARM(CAIQENVA):
<jobManager maxConcurrentJobs="5"