Appendix M Error Codes
Gcal produces the following exit codes:
127- Request for help screen, software license or program version (adjustable).
126- Invalid command line argument / option.
125- Year out of range for computing the Easter Sunday's date.
124- Virtual memory exhausted.
123- Invalid date part in resource file or in include file.
122- Invalid month field entry in resource file or in include file.
121- Invalid day field entry in resource file or in include file.
120- Malformed #include statement in resource file or in include file.
119- Illegal recursive/cyclic #include statement in resource file
or in include file.
118- Resource file or include file not found.
117- Invalid n'th weekday field (only
1...5
or 9 valid).
116- Missing whitespace separator character between date part
and text part.
115- Response file respectively shell script cannot be written.
114- Invalid date variable operation.
113- Referenced date variable undefined.
112- Invalid date value assigned to date variable.
111- Sending output to eMail address failed.
110- Internal error, C function pipe(), fork(), exec*() or unlink() failed.
109- Error reading resource, include respectively response file.
108- Illegal character found in response file.
107- Internal error, invalid value for the size of an internal table occurred.
106- Invalid date format text specified.
105- Invalid text variable definition.
104- Invalid regular expression search pattern specified.
3- Program aborted by signal.
2- Exit code not equal zero returned by external command.
1- Activated -c|C[],
-f|F name[+...] or
-# line option caused no output of resource file entries.
0- Normal program termination.