Skip to main content

How to capture the output of data file converter DFCONV?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Net Express

To run the utility in bulk for multiple data files conversion but unable to figure out how to redirect the output of DFCONV to a log file.

For example:

@run dfconv CFAB.PRO > loadCFAB.lst

The command ran successfully but the output of dfconv was displayed on screen instead of being redirected to the log file loadCFAB.lst.

Resolution:

To do this from a netexpress commandline:

set cobsw=s5

run dfconv xxx > dfconv.txt

Running multiple dfconv in one command file and getting all output to go to one file (appending)

To do this:

set cobsw= s5

run dfconv xxx >> dfconv.txt

Old KB# 1296