Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


DATEPROC

Use the DATEPROC option to enable the millennium language extensions of the COBOL compiler.

DATEPROC option syntax
Read syntax diagramSkip visual syntax diagram   .-NODATEPROC------------------.  
>>-+-----------------------------+-----------------------------><
   '-DATEPROC-+----------------+-'  
              |   .-FLAG---.   |    
              '-(-+-NOFLAG-+-)-'    
 

Default is: NODATEPROC, or DATEPROC(FLAG) if only DATEPROC is specified

Abbreviations are: DP|NODP

DATEPROC(FLAG)
With DATEPROC(FLAG), the millennium language extensions are enabled, and the compiler produces a diagnostic message wherever a language element uses or is affected by the extensions. The message is usually an information-level or warning-level message that identifies statements that involve date-sensitive processing. Additional messages that identify errors or possible inconsistencies in the date constructs might be generated.

Production of diagnostic messages, and their appearance in or after the source listing, is subject to the setting of the FLAG compiler option.

DATEPROC(NOFLAG)
With DATEPROC(NOFLAG), the millennium language extensions are in effect, but the compiler does not produce any related messages unless there are errors or inconsistencies in the COBOL source.
NODATEPROC
NODATEPROC indicates that the extensions are not enabled for this compilation unit. This option affects date-related program constructs as follows:

related references
FLAG


Terms of use | Feedback

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