Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Using UNDATE

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.

Example: UNDATE


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)