I have an RPG program that is called when a button is pressed. I edited the program to change the way a field was being calculated. However, when I try to recompile, the compile fails with the following:
033000+p GetSqlStatement... 231026
033100+p b 231026
033200+d pi 65535a 231026
033300+ 231026
033400+d lStmt s 32700a varying 231026
033500+d lSegment s 5012a varying 231026
033600+d lHasWhere s n 231026
033700+ /free 231026
033800+ // retrieve the sql statement associated with the data source... 231026
033900+ // 231026
034000+ exec sql select vvStmt into: lStmt from vvdta900 231026
======> aaa
*RNF5347 30 a 24034000+ An assignment operator is expected with the EVAL operation. VALENCE6/QCPYLESRC(VVNABBTN)
034100+ where vvId =: gDataSourceId; 231026
Not sure why this is suddenly a problem. At the moment, I can't update the underlying RPG due to the compile failure.
033000+p GetSqlStatement... 231026
033100+p b 231026
033200+d pi 65535a 231026
033300+ 231026
033400+d lStmt s 32700a varying 231026
033500+d lSegment s 5012a varying 231026
033600+d lHasWhere s n 231026
033700+ /free 231026
033800+ // retrieve the sql statement associated with the data source... 231026
033900+ // 231026
034000+ exec sql select vvStmt into: lStmt from vvdta900 231026
======> aaa
*RNF5347 30 a 24034000+ An assignment operator is expected with the EVAL operation. VALENCE6/QCPYLESRC(VVNABBTN)
034100+ where vvId =: gDataSourceId; 231026
Not sure why this is suddenly a problem. At the moment, I can't update the underlying RPG due to the compile failure.

Comment