ERROR

Invalid input string

Last Published: April 25, 2020

Error Message

After upgrading ArcInfo Workstation, the AML [DATEFORMAT] function in the TESTDATE.AML returns the error:

"Invalid input string"

Cause

The previous ArcInfo Workstation install was customized to deal with the operating system date time format in a particular way. That customization was lost upon upgrade.

Solution or Workaround

The getdate.fmt file needs to be updated to be able to interpret 2002-22-07.
  1. Open the newly installed %ARCHOME%/sysgen/getdate.fmt file.
  2. Add the following information as the sixth line in the file.

    %Y-%m-%d,%H,%M,%S


    Note:
    The [FORMATDATE] documentation in ArcInfo Workstation help provides more information on why and how to update this file.




Article ID:000005527

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic