Skip to main content

Problem:

During compilation is there a way to route .gnt output files to a specific location?

The default is to write the file in the current directory.

Resolution:

Use the -Ngnt flag then specify the file location for the output file.

cob -u -Ngnt="/tmp/testxx/tictac.gnt" tictac.cbl

This example causes the tictac.gnt file to be written to the /tmp/testxx directory.

Old KB# 7186