PTF

PTF#:SI41000 - IBM i
Licensed Program:5770SS1
APAR Fixed:View details for APAR SE44374
View details for APAR SE44318
Release:7.1
Cumulative Level:C1116710
Superseded by:View fix details for PTF SI58913


Abstract

RPGLE-RUN CLOSE OPEN ACCESS FILES WHEN ACTIVATION GROUP ENDS


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED      PTF/FIX  LEVEL
TYPE PROGRAM  REL  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

-----------------------------------------------
This APAR addresses the V7.1 support for the following version
6 APARs:
SE43197
RPGLE-RUN-MSGRNX0451 CALLING JAVA METHOD IN JOB CCSID 5026

SE42263
RPGLE-RUN-INCORROUT %OPEN INCORRECT IF EXCEPTION DURING CLOSE
- THE FILE IS CLOSED ON THE SYSTEM BUT RPG INDICATES IT IS OPEN

CORRECTION FOR APAR SE44374 :
-----------------------------
The ILE RPG runtime will be changed to correct the listed
problems.

CIRCUMVENTION FOR APAR SE44374 :
--------------------------------
None.


DESCRIPTION OF PROBLEM FIXED FOR APAR SE44318 :
-----------------------------------------------
When an activation group ends, and there is a static Open-
Access file that is still open, the Open-Access handler
is not called to close the file.

Similarly, when a secondary thread ends, and there is a static
Open-Access file that was opened in that thread, and this
file is still open, the Open-Access handler is not called
to close the file.

CORRECTION FOR APAR SE44318 :
-----------------------------
The PTF for this APAR provides two new runtime functions
_QRNX_REG_THD_CNL
_QRNX_CLOSE_OA_STATIC

Please note that this PTF alone is not sufficient to correct
the problem with files not being closed when the activation
group or thread ends.  It is also necessary to recompile
RPG programs with an additional compiler PTF.

Also note that the Open Access handler will not be called to
close the file when the default activation group ends, and
the RPG program was compiled with DFTACTGRP(*YES).

CIRCUMVENTION FOR APAR SE44318 :
--------------------------------
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
    --------------  ------------------------------------------------------------
       SI34732      RPGLE-RUN-INCORROUT ERROR IN OPEN-ACCESS LICENSE CHECK
       SI38773      RPGLE-RUN-INCORROUT SEVERAL PROBLEMS FIXED
       SI33944      RPGLE-RUN-INCORROUT SEVERAL PROBLEMS FIXED

    Summary Information

    System..............................................i
    Models..............................................
    Release............................................V7R1M0
    Recompile........................................N
    Library................................................QSYS
    MRI Feature......................................NONE



    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 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.