Corrupt PDF with AFP to PDF transformation Web Viewer 11.5

Document ID : KB000111677
Last Modified Date : 17/09/2018
Show Technical Document Details
We have been submitting batch jobs that use AFP to PDF transformation for the output. The batch job runs fine with a condition code of zero and we can see them in the CA-View database. However, when we view them through the CA-WebViewer, we are unable to do so and get an error. We went out and looked are our DRAS started task and found the following error messages: 12.40.47 STC41128 LSCX509 **** WARNING **** ERRNO = ENFOUND 12.40.47 STC41128 Generated in AFOPEN called from line 1538 of @@504446(IOUTACB), offset 000494 12.40.47 STC41128 Extended name: IOUTIL_real_open 12.40.47 STC41128 File not opened, not found on specified volume. 

On the Web Viewer side the PDF is corrupt - when attempting to browse a document in PDF format an error AFP a "File does not begin with '%PDF-', Local\EWH-18412-0"  is displayed.
IBM z/OS 2.3
z/OS upgrade on the DRAS side from 2.1 to 2.3 required a new library
After an operating system upgrade from z/OS 2.1 to 2/3 customer needed to specify a new PDEFLIB DSN in DRAS.