Librarian DROPLIBRARY command fails with 'Invalid function SHOW line 78 of aml'

Last Published: April 25, 2020

Error Message

When executing the Librarian DROPLIBRARY command, the following error may occur:

"AML ERROR - Arguments -1 environment tiles
invalid function SHOW
line 78 file C:\arcgis\arcexe83\atool\librarian\droplibrary.aml"


The [show environment tiles] function in the DROPLIBRARYR atool AML is returning a list of tiles that exceeds the AML 1024 character limit. The comma delimited string of all the library tile names must be less than 1024 characters long or the DROPLIBRARY AML will fail.

Solution or Workaround

The library can be manually deleted using the following sequence of steps. The following example describes how to delete a library called PARCELLIB.

  1. Determine the location of the library database directory for the map library PARCELLIB.

    Arc: librarian parcellib

    Librarian: show location library parcellib

    Librarian: quit

  2. Navigate to the library database directory and list the tile workspace locations.
    The library's INDEX coverage is located in the PARCELLIB database directory. The name and location of each PARCELLIB tile workspace is stored in the PARCELLIB INDEX.PAT.

    Arc: workspace D:\libraries\parcellib\database

    Arc: list index.pat tile-name location
    tile-name =
    location =
    tile-name = TILE1
    location = d:\libraries\parcellib\tile1
    tile-name = TILE2
    location = d:\libraries\parcellib\tile2

  3. Use the operating system file manager or an operating system command to delete to the tile workspaces.

  4. Delete the record for the library from the LIBRARIES INFO file located in %ARCHOME%\tables.

    C:>cd C:\arcgis\arcexe83\tables> info

    Enter Username: ARC

    Enter Command: SELECT LIBRARIES


    Enter Command: PURGE

    Enter Command: QUIT

    Enter Username: STOP

Article ID:000002462

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options