Rational Developer for System z
COBOL for Windows, Version 7.5, 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

Format
Read syntax diagramSkip visual syntax diagram>>-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

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)