7. Automate Query Execution
LANSA Client allows you to automate some of the actions required to run a query. You do this by executing the query using a command rather than starting LANSA Client and executing the query from the Query window. This facility can be useful if you:
- run the same query repeatedly
- want to schedule the execution of a query at certain times
- want to run a series of queries in batch mode when you are not present.
You use LCRUN32.EXE, installed as part of LANSA Client, to initiate the execution of a query from a command line.
Any variable values required by the query can be included on the command line or in a file called from the command line.
Further Information