CREATED (CRE)


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

The syntax of the CREATED parameter is:

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

from-date,to-date

Specifies the endpoint from and to-dates, in the format yy/mm/dd, to include 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 selects all members created on or before the specified TO date.

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

Entering the same dates in the FROM and TO fields selects members created only on that date. The two-character year is assumed 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

$$DD01 LIST CREATED=(94/07/01,94/07/15)

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

Example

$$DD01 LIST CREATED=(,90)

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

 

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