Let me try to explain this better.
I have file XYZ. In file XYZ I have field ABC that is type DATE (format DATE).
When I copy DD-ALL-FORMATS OF XYZ into my program the definition for field PIC X(10) instead of FORMAT DATE.
If field ABC = ’1969-03-01′ and I move ABC to a numeric field (pic 9(8)). The value in the numeric field is 69000301.
How do I get the copy DD-ALL-FORMATS OF XYZ to define field ABC FORMAT DATE?
I opened a call with IBM software support. I needed CVTOPT(*DATE) in the compile options.