Problem Note 20797: Format may not be successfully loaded
If you create an eight-character or less format name and nest an
existing format that has a format name exceeding eight characters, you
may receive an error similar to the following:
ERROR: The format AGE has a label that defines another format to be
loaded (named AGINGEVE), but this format could not be successfully
loaded (possibly for the same reason).
This failure occurs because formats created in SAS 9 may also be used in
SAS 8, causing truncation of the long format name which is being nested.
To circumvent this problem, create the format with a long format name
when you use a long format name as a label.
The error can be generated in the following example where we create two
formats, 'AGINGEVERYONEDOESIT' and 'AGE' where 'AGE' uses the existing
format name, 'AGINGEVERYONEDOESIT,' as a label.
In a DATA or PROC step, applying the format AGE generates the error.
proc format lib=work;
value agingeveryonedoesit low-13='pre-teen'
14-15='teen';
value age 16='considered adult'
other=[agingeveryonedoesit30.];
run;
data _null_;
x=18;
put x=age30.;
run;
proc print data=sashelp.class;
format age age.;
run;
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 |
Windows Vista | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | 9.2 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | 9.2 |
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 |
z/OS | 9.1 TS1M3 SP4 | 9.2 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 |
Linux | 9.1 TS1M3 SP4 | 9.2 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 |
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 |
*
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 |
Topic: | SAS Reference ==> Procedures ==> FORMAT
|
Date Modified: | 2007-08-14 16:26:23 |
Date Created: | 2007-08-14 16:26:23 |