#90 Move into SQLCODE

open
nobody
None
5
2010-08-08
2010-08-08
JimN
No

In many of our programs we set the sqlcode manually as a means to implement a validation error.

the converted cobol fails to convert

MOVE 001000 TO SQLCODE

It produces a java snippet
sqlca.setSqlcode(Sqlca.sqlcodeFmt_.format("001000"));

This code lacks the reference to Sqlca.sqlcodeFmt_

Discussion

  • JimN
    JimN
    2010-08-08

     
  • JimN
    JimN
    2010-08-08

    Attached is a sample netbeans project that shows the cobol test program and the java that is produced.