Description
We are observing a difference in output when upgrading from Spark (Scala 2.11) to Spark (Scala 2.12) using Cobrix.
A field defined as PIC 9(9)V99 in the copybook is decoded correctly in spark-cobol_2.11, but the same field is returned as NULL in spark-cobol_2.12.
Spark 2.x (Scala 2.11): Cobrix spark-cobol_2.11-2.2.2
Spark 3.x (Scala 2.12): Cobrix tested spark-cobol_2.12-2.2.2, spark-cobol_2.12-2.6.3.
Copybook snippet
05 AMOUNT-FIELD PIC 9(9)V99.
Observed behavior
Version Output
spark-cobol_2.11 110323.11
spark-cobol_2.12 NULL
We would like to understand whether this is:
- an intentional change in strictness/validation,
- expected behavior in newer Cobrix versions,
- or if additional options are required to maintain backward-compatible behavior.