Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Using PL/I MLE in your applications

Applying attributes and options
DATE attribute
RESPECT compile-time option
WINDOW compile-time option
RULES compile-time option
Understanding date patterns
Patterns and windowing
Using built-in functions with MLE
DAYS
DAYSTODATE
Performing date calculations and comparisons
Explicit date calculations
Comparing dates
Converting dates
Subtracting dates
Implicit date calculations
Implicit date comparisons
Comparing dates with like patterns
Comparing dates with differing patterns
Comparisons involving the DATE attribute and a literal
Comparisons involving the DATE attribute and a non-literal
Implicit DATE assignments

With the introduction of MLE, PL/I for Windows allows support for a number of additional language features. The purpose of this chapter is for you to become familiar with the new attribute, compile-time options, date patterns, and built-in functions. As you follow the sequence of the chapter, you should have an idea about how to apply these to your existing applications.

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide