Security error in the LANSA Listener TP jobs after applying EPC734 to V5R1 or V5R2
|Product/Release:||LANSA for iSeries V10.0|
|Abstract:||A security error can be generated after applying EPC734 to V5R1 or V5R2 if certain PTFs have not been applied|
|Submitted By:||LANSA Technical Support|
A new facility was introduced by IBM via PTF to V5R1 and V5R2 and shipped as default in V5R3. This new facility is explained in LANSA for the iSeries and V5R3 (OSP-QSYGETPH, QSYGENPT, support -1 for CCSID parameter).
If you have not already applied the relevant PTF which introduces this API change to V5R1 or V5R2 and you apply EPC734 to your LANSA for iSeries V10.0 system, you will generated a security error (Return Code 6 - SECURITY_NOT_VALID) in the LANSA listener TP job. The TP joblog will also contain the following error
CPF3BC7 30 04/07/28 11:03:33.323608 QSYCODEUTL QSYS *STMT LCOTP
From module . . . . . . . . : QSYMSGS
From procedure . . . . . . : qsy_sndpmsg__FPCcT1PCvCiT1T4
Statement . . . . . . . . . : 639
To module . . . . . . . . . : LCOTP
To procedure . . . . . . . : SESSLoginRemoteUser
Statement . . . . . . . . . : 1
Message . . . . : CCSID -1 outside of valid range.
Cause . . . . . : The CCSID -1 is outside of the valid range for the
requested action. Recovery . . . : Correct the
CCSID and try the request again.
You will need to request and apply the latest PTF depending on the version of OS/400.
PTF: SI09463 - Release: 510 - Licensed Program: 5722SS1
PTF: SI09459 - Release: 520 - Licensed Program: 5722SS1
However, as requesting and applying the relevant PTF will take time, a short term solution if you generate the security error in the TP jobs after applying EPC734 would be to backout EPC734 as this EPC introduces the change to LANSA that relies on the PTF level listed above. Refer to the EPC734 instructions on backing out the EPC changes.
Once you have received and applied the relevant PTF, you can reapply EPC734 to receive the latest LANSA of iSeries and LANSA for the Web fixes and enhancements.
For more information about EPC734, refer to the EPC page.