7 1 7 Batch Mode Troubleshooting

LANSA Client

7.1.7 Batch Mode Troubleshooting

To investigate problems when running queries in batch mode, you can specify an output file with the batch mode option as in this example:

LCRUN32.EXE -bd:\temp\batch.txt <drive>:\MyApplications\Client32\cities.lcq

Note: In this case, the batch parameter (-b) is NOT followed by a space.

This command will tell LCRUN32.EXE to put information messages into the d:\temp\batch.txt file. You can then view this file to get an indication of what happened during the execution of the query.

Note that LCRUN32.EXE always appends to the output file. This means an existing file is not overwritten. It is up to you to maintain the file by deleting/renaming/moving it, as required.

Further Information

Ý 7.1 How It Works