Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


YEARWINDOW

If the DATEPROC compiler option is in effect, the YEARWINDOW function returns the starting year of the century window specified by the YEARWINDOW compiler option. The returned value is an expanded date field with implicit DATE FORMAT YYYY.

If the NODATEPROC compiler option is in effect, the YEARWINDOW function returns 0.

The function type is integer.

Format
Read syntax diagramSkip visual syntax diagram>>-FUNCTION YEARWINDOW-----------------------------------------><
 

Terms of use | Feedback

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