Technical data
Intrinsic Subroutine Extensions
65
IDATE
The IDATE routine returns the current date as three integer values
representing the month, date, and year; the format is as follows:
CALL IDATE (m, d, y)
where m, d, and y are either INTEGER*4 or INTEGER*2 values representing
the current month, day and year. For example, the values of m, d and y on
August 10, 1989, are
m = 8
d = 10
y = 89
ERRSNS
The ERRSNS routine returns information about the most recent program
error; the format is as follows:
CALL ERRSNS (arg1, arg2, arg3, arg4, arg5)
The arguments (arg1, arg2, and so on) can be either INTEGER*4 or
INTEGER*2 variables. On return from ERRSNS, the arguments contain the
information shown in Table 4-3.
Although only arg1 and agr4 return relevant information, arg2, arg3, and arg5
are always required.
Table 4-3 Information Returned by ERRSNS
Argument Contents
arg1 IRIX global variable errno, which is then reset to zero after the call
arg2 Zero
arg3 Zero
arg4 Logical unit number of the file that was being processed when the
error occurred
arg5 Zero










