Compiler diagnostic message if the operands of %TRIM have different CCSIDs
Prior to release IBM® i 7.6, when the second operand of %TRIM, %TRIML, or %TRIMR had a different CCSID from the first operand, the compiler failed to issue diagnostic message RNF0374 (The second parameter for %TRIMx is not valid).
Starting in the base of IBM i 7.6 for TGTRLS(*CURRENT), the compiler defaults to issuing diagnostic message RNF0374 if the CCSIDs for the %TRIM built-in functions are not the same.
If you have made changes to your programs so that the %TRIM operations actually work correctly even though the CCSIDs are not the same, and you want the compiler to avoid issuing RNF0374 for this error, add environment variable QIBM_RPG_CHK_TRIM_CCSIDS with a value of 'N' when you compile your program.
For target releases V7R4M0 and V7R5M0, you can add the same environment variable, QIBM_RPG_CHK_TRIM_CCSIDS, with a value of 'Y', to cause the compiler to issue the diagnostic message.