IBM Support

SI53045 - OSP-IPDS-F/CBLABRANCH-T/QWPMODCA-MSGMCH1210 PRTAFPDTA WITH L

PTF Cover Letter


PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

OSP-IPDS-F/CBLABRANCH-T/QWPMODCA-MSGMCH1210 PRTAFPDTA WITH L


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
NONE



NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels.  This PTF may be a prerequisite
for future PTFs.  By applying this PTF you authorize and agree to the
foregoing.

This PTF is subject to the terms of the license agreement which
accompanied, or was contained in, the Program for which you are obtaining
the PTF.  You are not authorized to install or use the PTF except as part
of a Program for which you have a valid Proof of Entitlement.

SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.

The applicable license agreement may have been provided to you in printed
form and/or may be viewed using the Work with Software Agreements (WRKSFWAGR)
CL command.





APAR Error Description / Circumvention

-----------------------------------------------
If a permanent error occurs on a write operation to a
DEVTYPE(*AFPDS) printer file, for example CPF5186 "Record format
&6 not found for file...", a temporary space does not get
deleted when the file is closed.  If the printer file has
CVTLINDTA(*YES), the same problem can cause a thread to not be
ended.

CORRECTION FOR APAR SE58841 :
-----------------------------
When an exception is signalled by QWPPERRS, QSPCLOSE loses
addressability in the Open Data Path (ODP) to the program that
is supposed to destroy the temporary spaces.  This will now be
handled by QWPPERRS.

CIRCUMVENTION FOR APAR SE58841 :
--------------------------------
None.


DESCRIPTION OF PROBLEM FIXED FOR APAR SE58762 :
-----------------------------------------------
An RPG program uses a printer file to create PDF documents using
the WSCST(*PDF) and TOSTMF parameters.  This was working until
the program went into production, now after a short while it
fails with a CPF4182 exception.

CORRECTION FOR APAR SE58762 :
-----------------------------
There was a error in the operating system print code that
deletes the empty PDF output if there were no writes to the
printer file. (File open/close with no reads or writes is common
in RPG programming).  The PDFs were unlinked but never closed.
Eventually the job would hit the limit of 200 open file handles
from these deleted-but-unclosed stream files.

CIRCUMVENTION FOR APAR SE58762 :
--------------------------------
None.


DESCRIPTION OF PROBLEM FIXED FOR APAR SE57694 :
-----------------------------------------------
The data larger than about 300000 bytes are failing to convert
by PRTAFPDTA.
Smaller files are converting just fine.

CORRECTION FOR APAR SE57694 :
-----------------------------
QWPMODCA keeps track of the longest record length to be used by
the QUSRSPLA API and SNDNETSPLF as it writes the print data to a
spooled file.

This application generates AFPDS commands with the maximum
length of 32767, plus one for the X/5A control at the beginning.
One of the two spots in QWPMODCA that can update the record
length was not properly handling the 32768 total length (it
should report a record length of 32767)

CIRCUMVENTION FOR APAR SE57694 :
--------------------------------
None.


DESCRIPTION OF PROBLEM FIXED FOR APAR SE58176 :
-----------------------------------------------
The customer has a spooled file that uses the COLOR DDS keyword.

If they try to use Infoprint Server to convert that spooled file
to PDF and have the PDF paper size drawer 1 (PDFPPRDWR1) and PDF
paper size drawer 2 (PDFPPRDWR2) parameters set to *A4 then it
the WTR job fails with MSGMCH1210 and MSGCPF9999, but if they
have the PDFPPRDWR1 and PDRPPRDWR2 parameters est to *A3 then
the PDF file is created successfully.

CORRECTION FOR APAR SE58176 :
-----------------------------
When used with any other color model except "color name", the
DDS COLOR keyword generates a Set Extended Text Color command in
the spooled file.  This command is significantly longer than
most text commands.  This command is getting split across a
record boundary with most of the command residing in the first
record and only 3 bytes spilling over to the next record.  When
the spooled file is printed on an IPDS printer, or converted to
PDF using InfoPrint Server, this split command is not detected
by QWPREQIO (because of the unusual length of the command) and
QWPREQIO loses its place in the data, causing a counter to
underflow.  If the data were a little different, this error
could result in MSGMCH0601 instead of MCH1210.

CIRCUMVENTION FOR APAR SE58176 :
--------------------------------
None.


Activation Instructions


None.




Special Instructions


None.


Default Instructions

THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
   SI52914      OSP-PRT-MSGMCH3601-F/QWPALLOC x/05F3 writer fails when first

Summary Information

System..............................i
Models..............................
Release.............................V7R2M0
Licensed Program...............5770SS1
APAR Fixed..........................View details for APAR SE58841
View details for APAR SE58762
View details for APAR SE57694
View details for APAR SE58176
Superseded by:......................View fix details for PTF SI67517
Recompile...........................N
Library.............................QSYS
MRI Feature ........................NONE
Cum Level...........................C4276720


System i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG15V","label":"PTF Cover Letters - OS\/400 General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG16F","label":"PTF Cover Letters - IBM i 7.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V7R2M0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 April 2014