Created On:  20 September 2011

Problem:

We are getting the error "\Micro was unexpected at this time" when using version 9.0.1 AcuXDBC batch files on 64-bit Windows.

Resolution:

The AcuXDBC installation includes eight batch files to assist in administering:

acuxdbcs.bat
addfile.bat
ainit.bat
asql.bat
axset.bat
demo.bat
genxconf.bat
odbcsql.bat

Invoking them on a Windows 64-bit machine results in the error:

"\Micro was unexpected at this time"

The same .bat files all work as expected on 32-bit Windows.

Explanation/Resolution:

The batch files did not account for the fact that 64-bit Windows have parentheses in the path.  Those parentheses cause problems for the DOS batch processor.

Attached to this article is a zip file containing modified batch files that work on 64-bit machines.  Simply download and extract to the bin directory of your 9.0.1 installation.  By default that is C:\Program Files (x86)\Micro Focus\Acucbl901\AcuGT\bin.

The same applies to version 9.1.0.  The fixed batch files will be included in version 9.1.1.