CHANGED (CHA)


The CHANGED parameter specifies a date range that selects a subset of members based on their last modified 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 CHANGED parameter is:

CHANGED=(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 with modification dates on or before the specified TO date.

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

Entering the same dates in the FROM and TO fields selects members with modification dates that match only that date. The two-character year is assumed between 1960 and 2059. Partial 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, the defaults are 85/01/01 and 85/12/31. If you enter 85/09, the defaults are 85/09/01 and 85/09/30.

Example:

$$DD01 LIST CHANGED=(94/07/19,94/07)

This example prints all members with a last modified date from July 19, 1994 to July 31, 1994.

 

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