|
I believe that this problem is documented in the following APAR:SE1104 03/07/15 RPGLE-RUN-INCORROUT VARYING VALUE PARAMETERS IN OPTIMIZED PGM
You can display the APAR here: http://d25dbw36.mkm.can.ibm.com/wwqa/wwqades.nsf/WWQADispItem?OpenForm&u=2AEA33AC293862F185256FFB0055F8AE&h&d=SE11040 ... and display the PTF (520) here: http://d25dbw36.mkm.can.ibm.com/wwqa/wwqades.nsf/WWQADispItem?OpenForm&u=2AEA33AC293862F185256FFB0055F8AE&d=SI10891Another circumvention for TGTRLS(V5R1M0) is to first copy the fixed-length argument values to a varying-length temp. E.g.:
D tmp1 s 1024a varying D tmp2 s 1024a varying /free : : : tmp1 = 'yyyy'; tmp2 = %editc(yyyy:'X'); xyzProc( data2 : tmp1 : tmp2 ); - Bob Donovan
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.