Level 66 and managed code

We're converting some REALLY old mainframe code to VC 2.3 for VS 2013 and we are getting a COBCH1710 when a Level 66 data item is referenced in the Procedure Division, specifically as an operand in an IF statement. I've dug around in the product documentation and can't find anything that says Level 66 shouldn't be used in managed code, but I've missed stuff in the past. Does anyone know of a restriction of Level 66 data items in managed code?
Parents
  • Can you provide me with an example? I tested with the following simple program and it works fine in managed code:

    working-storage section.
           01 my-field   pic x(10) value spaces.
           66 new-field renames my-field.
           procedure division.
           
               move "test" to my-field
               if new-field = "test"
                  display "ok"
               else
                  display "no"
               end-if
    
               goback.
    
Reply
  • Can you provide me with an example? I tested with the following simple program and it works fine in managed code:

    working-storage section.
           01 my-field   pic x(10) value spaces.
           66 new-field renames my-field.
           procedure division.
           
               move "test" to my-field
               if new-field = "test"
                  display "ok"
               else
                  display "no"
               end-if
    
               goback.
    
Children
No Data