Problem Note 33858: "ERROR: Specified Cast Is Not Valid" when importing fixed-width file into SAS® Enterprise Guide
When importing a fixed-width file into SAS Enterprise Guide with the Import Task, you might get the following error if you select the Specify line to use as column headings option in the Region to import section of the task.
ERROR: Specified Cast is not Valid
If the Specify line to use as column headings option is checked, and you go to the Text Format section of the task in order to add markers that define the variable values, the error will occur if you click anywhere past the end of the line of data.
Deselecting the option will enable the file to import successfully.
Operating System and Release Information
| SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.1 | | | |
| Microsoft Windows 95/98 | 4.1 | | | |
| Microsoft Windows 2000 Advanced Server | 4.1 | | | |
| Microsoft Windows 2000 Datacenter Server | 4.1 | | | |
| Microsoft Windows 2000 Server | 4.1 | | | |
| Microsoft Windows 2000 Professional | 4.1 | | | |
| Microsoft Windows NT Workstation | 4.1 | | | |
| Microsoft Windows Server 2003 Datacenter Edition | 4.1 | | | |
| Microsoft Windows Server 2003 Enterprise Edition | 4.1 | | | |
| Microsoft Windows Server 2003 Standard Edition | 4.1 | | | |
| Microsoft Windows XP Professional | 4.1 | | | |
| Windows Millennium Edition (Me) | 4.1 | | | |
| Windows Vista | 4.1 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2008-11-17 16:41:07 |
| Date Created: | 2008-11-06 15:51:35 |