Information about message locations, formats, redirection, codes, and prefixes.
The Gateway daemon writes log messages to standard output (stdout, referred to as the error log), or to standard error (stderr, referred to as the information log) . If Gateway daemon tracing is enabled, the Gateway daemon also writes log messages to the trace output file.
CTGnnnnt: <message text>
where nnnn is a number, and t is
one of the following:Identifier | Purpose of message | Written to |
---|---|---|
I | information | stdout |
E | error | stderr |
W | warning | stderr |
Standard output and standard error can optionally be redirected to the same file. For more information, see Starting in batch mode.
ctgstart 2>outputfile >&2
For more information about redirecting messages, see the documentation for your operating system.
CICS Transaction Gateway messages have the prefix CTG.
For an explanation of all CICS Transaction Gateway messages, see Messages.
Error codes resulting from incorrect use of the APIs are returned to the associated applications. Applications must notify the user about such errors, and must provide information on the required user response.