Skip to main content

How can the output of a compile performed via BAT file be logged?

  • Feb 15, 2013 10:52 PM UTC
  • 0 replies
  • 2 views

Dominique Sacre
Forum|alt.badge.img+2

Problem:

BAT file contains:

FOR %%F IN (C*.CBL) DO wb CHECK %%F use"new.dir"  animi >> C:\\mf\\OUT.LOG;

but the log file is always empty, what needs to be done to ensure the log file is produced?

Resolution:

Setting COBSW= s5 switch before executing the BATt file- this switch enables ANSI compatible console I/O thus allowing the log file to be written correctly

Old KB# 5051

#EnterpriseDeveloper
#MFDS