Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Language Reference


UNDATE

The UNDATE function converts a date field to a nondate for unambiguous use with nondates.

If the NODATEPROC compiler option is in effect, the UNDATE function has no effect.

The function type depends on the type of argument-1:

Argument type Function type
Alphanumeric Alphanumeric
Integer Integer
Read syntax diagramSkip visual syntax diagram
Format

>>-FUNCTION UNDATE--(--argument-1--)---------------------------><

argument-1
A date field.

The returned value is a nondate that contains the value of argument-1 unchanged.


Terms of use | Feedback

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