What's the deal with PGP_ERR (in GRAPHPAR)? The codes are simply not valid
messgen codes at all. As they stand cremsg complains about an illegal
severity error. Subtracting 4 from all the codes fixes them and makes
them compliant but then again I don't really understand how the severity
maps to the final number. I also note that no facility error is installed
for 1508 in the normal /star and so they will never get translated
correctly either.
Any objections if in the CVS version I "fix" the error codes and make sure
the fac file gets installed? Or can someone explain why the codes are
broken? Looking at GRERR things get confusing since 176 to 192 are used by
GRERR but 172 to 196 are reserved for pgppar.
The obvious thing to do is what SGS does, and that is to put the PGP
ADAM error codes into the PGP error file itself (called grerr in PGP).
Then we just install "grerr" as pgp_err with all the error codes and
everything works. (does it really matter that the first few error codes
will be "private"? At least we can work out how to trranslate them if they
leak out).
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|