Previous Topic: SMF Search Criteria

Next Topic: Selecting SMF Records by Job, Program, or File

Selecting SMF Records by Date and Time

The SMF Search Criteria screen has two time and date fields that you can use to select specific SMF records. CA Auditor uses this information to select SMF records according to the date and time that a record was created.

You enter a starting date in the From: Date field and an ending date in the To: Date field to select a time period for searching SMF records.

For example, if the current date is March 10, 2003, and you want to select only SMF records written on March 9, 2003, enter 9 MAR 03 in the From: Date field and 9 MAR 03 in the To: Date field. If you choose to view dates in a different format, you enter the dates in that format. CA Auditor also handles dates into the next century. If you enter the year as 00 through 49, CA Auditor recognizes these dates as 2000 through 2049. You can enter a specific date or date range, or leave the date fields blank so that the current date is used by default.

When using batch scripts, it is possible to define special symbolic date variables for use in specifying the “TO” and/or “FROM” date. This allows you to generate scripts that are more flexible in that they can be captured once and then rerun many times without modification.

In the same way, use the From: Time and To: Time fields to select the time period for the search.

For example, if the current time is 17:00, and you want to select only SMF records written between 08:00 and 16:00, you enter 08:00 in the From: Time field and 16:00 in the To: Time field.

In this way, you can select SMF records for any specific time period you want to see.

For example, to see all SMF records created during the first shift on one day or all SMF records created during the first shift during an entire month, you can combine the Date and Time fields to select the specific time period you want to review.