You store date as YYYYMMDD in 8 bytes. What is the COBOL definition of this field?
Pic Y(4)M(2)D(2)
Pic date(yyyymmdd)
Pic date(8)
Pic X(8)