You can use the UNDATE intrinsic function to convert a date field to a nondate so that it can be referenced without any date processing.
Attention: Avoid using UNDATE except as a last resort, because the compiler will lose the flow of date fields in your program. This problem could result in date comparisons not being windowed properly.
Use more DATE FORMAT clauses instead of function UNDATE for MOVE and COMPUTE.