CREATEX (CRX)


The CREATEX parameter specifies a date range that excludes a subset of members based on their creation date. This information is a PDS statistic that is stored in its directory. Members without PDS statistics are not selected, because they were not created (STATS OFF) or the statistics were deleted.

The syntax of the CREATEX parameter is:

CREATEX=(from-date,to-date)
        (,to-date)
        (from-date)
        from-date

from-date,to-date

These variables specify the endpoint FROM and TO dates, in the format yy/mm/dd, to exclude in the member list. The dates can be complete or partial. Leading zeros are required when specifying the year, month, and day.

The following date formats are valid:

YY/MM/DD
YY/MM
YY

If the FROM date is omitted and a TO date is specified, File-AID excludes all members created on or before the specified TO date.

If a FROM date is specified and the TO date is omitted, File-AID excludes all members created on or after the specified FROM date.

Entering the same dates in the FROM and TO fields excludes members created only on that date. The two-character year is assumed to be between 1960 and 2059. Partial creation dates are treated positionally (YY/MM/DD) and are padded with default values (01/01 for FROM and 12/31 for TO).

For example, if you omit a date range, the default FROM value becomes 1960/01/01 and the default TO value becomes 2059/12/31. If you enter 85/09, the defaults are 85/09/01 and 85/09/30.

Example 1
$$DD01 LIST CREATEX=(94/07/01,94/07/15)

This example prints all members excluding members created from July 1, 1994 to July 15, 1994.

Example 2
$$DD01 LIST CREATEX=(,90)

This example prints all members excluding members created on or before December 31, 1990 (90/12/31).

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*