Skip to main content

Hi, Errors 177 and 178 occur when transferring project from Net Express 5.1 to Visual Cobol 3.0

Error    177    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    40    21    OVLISM_lbr
Error    178    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    43    21    OVLISM_lbr
 
these errors will cause the following commands:
 
      *      EXEC SQL
      *        SET SCROLLOPTION DYNAMIC
      *      END-EXEC
      *      EXEC SQL
      *        SET CONCURRENCY OPTCCVAL
      *      END-EXEC

Please explain what I'm wrong with.

Thanks Petr


#error178
#VisualCOBOL
#error177

Hi, Errors 177 and 178 occur when transferring project from Net Express 5.1 to Visual Cobol 3.0

Error    177    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    40    21    OVLISM_lbr
Error    178    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    43    21    OVLISM_lbr
 
these errors will cause the following commands:
 
      *      EXEC SQL
      *        SET SCROLLOPTION DYNAMIC
      *      END-EXEC
      *      EXEC SQL
      *        SET CONCURRENCY OPTCCVAL
      *      END-EXEC

Please explain what I'm wrong with.

Thanks Petr


#error178
#VisualCOBOL
#error177

The default SQL(BEHAVIOR) directive has been changed between Net Express and Visual COBOL and this is why you are experiencing this error. You can change the default back to BEHAVIOR=UNOPTIMIZED to get the same behavior as in Net Express.

You can set the directive in your project or globally following the instructions here:


Hi, Errors 177 and 178 occur when transferring project from Net Express 5.1 to Visual Cobol 3.0

Error    177    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    40    21    OVLISM_lbr
Error    178    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    43    21    OVLISM_lbr
 
these errors will cause the following commands:
 
      *      EXEC SQL
      *        SET SCROLLOPTION DYNAMIC
      *      END-EXEC
      *      EXEC SQL
      *        SET CONCURRENCY OPTCCVAL
      *      END-EXEC

Please explain what I'm wrong with.

Thanks Petr


#error178
#VisualCOBOL
#error177

Thank you Chris, it helped me.

But I got this error after pressing F11:


Hi, Errors 177 and 178 occur when transferring project from Net Express 5.1 to Visual Cobol 3.0

Error    177    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    40    21    OVLISM_lbr
Error    178    COBES0100 : Statement incompatible with BEHAVIOR setting    ELS004XI.cbl[ELS004XZ.CPY]    43    21    OVLISM_lbr
 
these errors will cause the following commands:
 
      *      EXEC SQL
      *        SET SCROLLOPTION DYNAMIC
      *      END-EXEC
      *      EXEC SQL
      *        SET CONCURRENCY OPTCCVAL
      *      END-EXEC

Please explain what I'm wrong with.

Thanks Petr


#error178
#VisualCOBOL
#error177
This error occurs when there is a mismatch between the compiled program product version and the run-time system that is being loaded. Do you perhaps have a different version of the cblrtsm.dll module located within your PATH? Are you including the Net Express\\base\\bin path in your PATH? If you are then you should remove it.

If you have a version of the cblrtsm.dll in your NX project folder then you should remove that as well.