Top
NetCOBOL V11.0 CGI Subroutines User's Guide
FUJITSU Software

5.1 Examine the Log Data

Each CGI subroutine has a feature for outputting log data to a log file. This log data is very useful because it can be used to change environment variables without changing the application. For an explanation of the environment variable settings, see "Setting the Environment Variables of CGI Subroutines" in Chapter 4. Because this log data is collected from CGI subroutines, the log data does not indicate the trace data on the application itself, but indicates the approximate status of the application. The configuration of the log file is as follows:

process-id thread-id year-month-day hours:minutes:seconds severity-level message

An example of the contents of a log file follows:

0000000188 0000000187 1999-02-02 11:48:07 02 COB-06310: COBW3: The specified conversion name is already registered.  The already registered conversion data is validated.
0000000188 0000000081 1999-02-02 11:48:10 01 COB-04470: COBW3: The specified conversion data cannot be converted because it was not previously registered.

To acquire the trace data from the application, use the COBOL TRACE function. For details of the TRACE function, refer to the "NetCOBOL Debugging Guide".