IBM Support

SI62208 - RPGLE-CMPL-INCORROUT-MSGRNF0308 CRTSQLRPGI RPGPPOPT(*LVL1/*L

PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

RPGLE-CMPL-INCORROUT-MSGRNF0308 CRTSQLRPGI RPGPPOPT(*LVL1/*L


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
PRE  5770SS1  V7R2M0    SI58915   00/00    0000
PRE  5770SS1  V7R2M0    SI57766   00/00    0000
PRE  5770SS1  V7R2M0    SI58109   00/00    0000



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

-----------------------------------------------
An ILE RPG module or program compiled with TGTRLS(V7R2M0) may
make unnecessary calls to QUSRJOBI during module initialization.

Module initialization occurs when the first procedure in the
module is called, and for a cycle-main module, when the main
procedure is called again if previous call to the main procedure
ended with *INLR off, or it ended abnormally.

CORRECTION FOR APAR SE65588 :
-----------------------------
The ILE RPG compiler will be change so that QUSRJOBI is only
called during module initialization when it is necessary.

CIRCUMVENTION FOR APAR SE65588 :
--------------------------------
- Compile with TGTRLS(V7R1M0)

- If the module has a cycle-main procedure, reduce the number
of times that module initialization is done by returning with
LR off.


DESCRIPTION OF PROBLEM FIXED FOR APAR SE64766 :
-----------------------------------------------
When compiling an SQLRPGLE source member with RPGPPOPT(*LVL1)
or *LVL2, msgRNF0308 may be issued incorrectly indicating
that a float literal is invalid. This can occur when an SQL
statement has a line ending in a numeric literal followed by a
line beginning with the character 'E'.

CORRECTION FOR APAR SE64766 :
-----------------------------
The preprocessor feature of the ILE RPG compiler will be changed
so that a line ending with a numeric literal may be followed
by a line with the letter E as the first non-blank character.

Note:
Numeric continuation is not allowed in free form. However, the
RPG compiler previously failed to enforce this rule in every
situation. With this APAR, this rule is now always enforced.

For example, the following is not allowed:
x = 123
4;

The following is still valid because numeric continuation is
allowed in fixed form.

C                   eval      x = 123
C                               4

CIRCUMVENTION FOR APAR SE64766 :
--------------------------------
Add a comment at the end of the line with the numeric literal.

For example, change this
exec sql declare C1 cursor for
Select   Fld1, Fld2, case
when Fld3 = 'abc' then Fld4 + 1
else                   Fld4
to this
exec sql declare C1 cursor for
Select   Fld1, Fld2, case
when Fld3 = 'abc' then Fld4 + 1 // comment
else                   Fld4


DESCRIPTION OF PROBLEM FIXED FOR APAR SE64988 :
-----------------------------------------------
When the parameter for the SRCSTMF parameter for CRTRPGMOD or
CRTBNDRPG is in the form
'/QSYS.LIB/MYLIB.LIB/MYSRCFILE.FILE/MYMBR.MBR')
and the parameter is not entirely in upper case, DSPMOD does
not show that the module was compiled from file MYLIB/MYSRCFILE
member MYMBR.

If '/QSYS.LIB' is uppercase, and the remainder of the parameter
is not entirely uppercase, the compile may fail with msgRNS9311
RC 1.

CORRECTION FOR APAR SE64988 :
-----------------------------
The ILE RPG compiler will be changed so that the source library,
file, and member will be placed in the module if the SRCSTMF
parameter is in the form
'/qsys.lib/srclib.lib/srcfile.file/srcmbr.mbr'
and it is specified in all uppercase, all lowercase, or a
mixture of upper and lower case.

CIRCUMVENTION FOR APAR SE64988 :
--------------------------------
Specify the parameter for SRCSTMF with all uppercase.


Activation Instructions


None.




Special Instructions


None.


Default Instructions

THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
   SI60985      RPGLE-RUN-INCORROUT %ELEM RETURNS 0 FOR SUBPROC INDICATOR AR
   SI60985      RPGLE-CMPL-INCORROUT += ASSIGNMENT WHEN RHS HAS MULTIPLE CCS
   SI60985      RPGLE-RUN REMOVING ENDFOR BREAKPOINT REMOVES WRONG BREAKPOIN
   SI60985      RPGLE-RUN-INCORROUT RESET OF SUBFIELD FROM DS WITH A POINTER
   SI60351      RPGLE-RUN-INCORROUT DBGVIEW(*LIST) SHOWS EXTRA TEXT IN STRDB
   SI60086      RPGLE-CMPL-MSGCPF3BC7 XML-INTO or XML-SAX IN CCSID 65535 SOU
   SI60086      RPGLE-CMPL-MSGCPF9549 CRTSQLRPGI COMPILEOPT('OUTPUT(*NONE)')
   SI60086      RPGLE-CMPL-MSGRNF7544 RESET QUALIFIED MAIN ENTRY PARM SUBFIE
   SI60086      RPGLE-CMPL-MSGRNF5505 CRTSQLRPGI RPGPPOPT **FREE WITH /COPY
   SI58916      RPGLE-CMPL-MSGMCH4227-RC12 *ZEROS PASSED TO CONST FLOAT PARM
   SI58916      RPGLE-CMPL-MSGRNF0224 XML-INTO XML-SAX WITH LITERAL OPTIONS
   SI58916      RPGLE-CMPL-INCORROUT UCS-2 WITH OPEN ACCESS WHEN CCSIDS DIFF
   SI58916      RPGLE-CMPL-INCORROUT /COPY IN **FREE CRTSQLRPGI+RPGPPOPT NOT
   SI58916      RPGLE-CMPL-MSGMCH4227 CHGSRVPGM PRFDTA(*APYALL) KEYED I/O
   SI58137      RPGLE-CMPL SUPPORT FREE-FORM FROM COLUMN 1 TO END OF LINE
   SI57858      RPGLE-CMPL-MSGRNF1250 MAIN PI WITHOUT EXTPGM WITH CRTBNDRPG
   SI57858      RPGLE-CMPL-T/QRN4MAIN-MSGMCH3601 EVAL-CORR FOR UNDEFINED LIK
   SI57289      RPGLE-CMPL-MSGRNF5377 %DATE WITH NO PARMS FOLLOWED BY AND /
   SI56411      RPGLE-CMPL-T/QBNCRTMD-MSGMCH0601 INZ('') WITH CCSID(*EXACT)
   SI56411      RPGLE-CMPL-MSGRNF0202 %SIZE(DS) UNDEFINED FOR A FREEFORM KEY
   SI56411      RPGLE-CMPL-MSGRNS9311-RC1 PROC WITH SAME NAME AS GLOBAL SUBF
   SI56411      RPGLE-CMPL-INCORROUT PCML MISSING NAME TAG FOR UNNAMED MAIN
   SI55442      RPGLE-CMPL PCML USABILITY: MIXED CASE; PCML FOR ONLY SOME PR
   SI55236      RPGLE-CMPL-MSGMCH0602 MSGMCH0602 SQL FUNCTION RETURN *BLANKS
   SI55236      RPGLE-RUN-INCORROUT BREAKPOINT LINE FOR DCL-PROC AND END-PRO
   SI55236      RPGLE-CMPL-MSGRNF0099 UTIL-CC ASSIGN *LOVAL TO CCSID(*HEX) F
   SI54155      RPGLE-CMPL-MSGRNF3320 FREE-FORM KEYWORD IN SUBPROC WITH GLOB
   SI54155      RPGLE-CMPL-MSGRNF7062 MESSAGE MSGRNF7062 IS NOT BEING FLAGGE
   SI54155      RPGLE-RUN-MSGRNX0451 SOURCE CCSID 65535, KEYWORDS INZ AND CC
   SI54155      RPGLE-CMPL-MSGRNF0099 UTIL-CC FIELD DEFINED LIKE(O_SPEC_FIEL
   SI54155      RPGLE-CMPL ALIAS FOR FILES; RELAX RULES FOR I/O DATA STRUCTU
   SI53642      RPGLE-CMPL-MSGRNF7710 MODULE WHICH COMPILED FOR 7.1 NOW TOO
   SI53642      RPGLE-CMPL-MSGMCH4216 CONCATENATION EXPRESSION PASSED TO CON
   SI53642      RPGLE-CMPL-MSGRNF0267 CONTINUED LITERAL WITH CRTSQLRPGI RPGP
   SI53642      RPGLE-CMPL-MSGMCH3203 EXTPGM FOR A NON-MAIN SUBPROCEDURE
   SI53228      RPGLE-RUN-MSGMCH1202 MCH1202 FOR SUBDUR(E) WITH INVALID
   SI53228      RPGLE-CMPL-INCORROUT DTAARA(*VAR:FLD) DOES NOT CAUSE A READ
   SI53228      RPGLE-CMPL-INCORROUT SEVERAL PROBLEMS FIXED
   SI52691      RPGLE-CMPL-INCORROUT SEVERAL PROBLEMS FIXED
   SI52691      RPGLE-CMPL-MSGRNF0257 FOR DCL-XX AFTER A CALCULATION
   SI51658      RPGLE-CMPL-INCORROUT SEVERAL PROBLEMS FIXED
   SI51658      RPGLE-CMPL-MSGRNF7030 OPTION(*NOXREF) WITH DTAARA KEYWORD
   SI51658      RPGLE-CMPL-F/QTESYMS--MSGCPF955E LIKEREC WITH PAGE FIELD
   SI51658      RPGLE-RUN-INCORROUT O SPEC RECORDNAME BLANK IN OA HANDLER PA
   SI51658      RPGLE-CMPL-MSGRNF7030 *INLR NOT DEFINED FOR A PRIMARY FILE
   SI51658      RPGLE-RUN-INCORROUT OPEN ACCESS OUTPUTBUFFERLEN > RECORD LEN
   SI51658      RPGLE-CMPL-MSGRNX0103 SUBTRACTING TWO %SUBDT GETS OVERFLOW E

Summary Information

System.............................. i
Models..............................
Release............................. V7R2M0
Licensed Program............... 5770WDS
APAR Fixed.......................... View details for APAR SE65588
View details for APAR SE64766
View details for APAR SE64988
Superseded by:...................... View fix details for PTF SI70906
Recompile........................... Y
Library............................. QRPGLE
MRI Feature ........................ NONE
Cum Level........................... C6306720


IBM 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, 2019 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.

Document information

More support for: i family

Software version: V7R2M0

Operating system(s): OS/400

Reference #: SI62208

Modified date: 29 August 2016