• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Copy Source Problem for VVNABBTN

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Copy Source Problem for VVNABBTN

    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.

  • #2
    Are you compiling with RPGPPOPT(*LVL2)?

    Comment


    • #3
      D'oh!!! Well spotted!

      Comment


      • #4
        This one just saved me :-)

        Comment

        Working...
        X