DAT_ERMSG

Translate a status value into an error message

Description:

This routine translates an error status value into an associated error message. It first attempts to translate the value supplied as a DAT__ error code. If this fails, it then attempts to translate it as a system status code for the host operating system. If this also fails, then the returned string is a message indicating that the status value could not be translated.

Invocation

CALL DAT_ERMSG( STATUS, LENGTH, MSG )

Arguments

STATUS = INTEGER (Given)
The error status value to be translated.
LENGTH = INTEGER (Returned)
Number of significant characters in the returned error message (i.e. excluding trailing blanks). This value will not exceed the length of the character variable supplied for the MSG argument.
MSG = CHARACTER  (  ) (Returned)
The error message.

Notes: