Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, 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.

Read syntax diagramSkip visual syntax diagram
Format

>>-FUNCTION YEARWINDOW-----------------------------------------><


Terms of use | Feedback

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