[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Understanding the Diagnostic Subsystem for AIX
getELAdates
Purpose
Return the start and end timestamp for retrieving error log entries.
Syntax
char *getELAdates ( notRTOmode )
int notRTOmode;
Description
The getELAdates subroutine formats and returns a
string containing the start and end timestamp that should be used for error
log analysis. The end timestamp is the current date and time. The start timestamp
is created using either the value specified by the Customized Diagnostic
Attribute for run time options, or the value passed as a parameter. The string
returned serves the same purpose as the date parameter of the TMInput object
class.
Parameters
- notRTOmode
- Determines how the run time option value for the number of ELA days
is used. If notRTOmode is 0, then the number of ELA days specified by the
Customized Diagnostic Attribute for run time options is used to create the
start timestamp. If notRTOmode is greater than 0, then the notRTOmode value
is used as the number of ELA days when creating the start timestamp.
Return Value
The following string is returned:
-s MMddhhmmyy -e MMddhhmmyy
where:
- dd
- is the 2-digit value for day
- hh
- is the 2-digit value for the hour in 24-hour format
- mm
- is the 2-digit value for minutes
- yy
- is the 2-digit value for year
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]