Solution or Workaround
One of the following messages is returned while running an AML.
At the ARC level:
"Submitting command to Operating System"
Within modules (GRID, ARCPLOT, etc.):
"Command not found"
This is the result of using a TAB key to indent blocks of code. The Tab character is invalid to AML and thus AML will not understand the command following the indentation.
Do not use the TAB key to format AMLs. Use multiple space keys, configure your editor to insert spaces when TAB is used, or run a filter on your AML file that converts TAB characters to multiple space characters.
At Version 7.x, the TAB key can be used in an AML or from the command prompt to enter &TYPE directives and comment lines in an AML. In fact, it is permissible to precede any AML directive (starts with &) with a tab.
Commands and functions must be preceded by spaces.
- ArcMap 8 x
- Legacy Products