Trace files - create a compressed file trace

0 Likes

Problem:

Often, it is necessary to get a file trace of a lengthy program, and the file can get rather large. Usually, the size of the trace file can be controlled by using the configuration variable MAX_ERROR_LINES. Sometimes, however, a full trace file is needed. Here is a way to get a compressed file trace on UNIX by using Gzip.

Resolution:

On the run command add the -g and then the error filename with the extentsion:

runcbl -g -lex myerror.gz myprogram.acu

To view the fiile use the gunzip command:

gunzip myerr.gz

Old KB# 3186
Comment List
Anonymous
Related Discussions
Recommended