Problem Note 48653: "Warn: format xxx. could not be instantiated.format BEST to be used" might be issued when running one of the ODS Graphics SG procedures
The following message might be issued in the SAS Log when running one of the ODS Graphics Statistical Graphics (SG) procedures:
WARN: format xxx. could not be instantiated.format BEST to be used
This problem is most likely to occur if a user-defined format is associated with a variable in an SG procedure. The error occurs when the user-defined format references a second user-defined format that has not been previously referenced in an SG procedure.
To circumvent the problem, submit an extra SG procedure step that utilizes the user-defined format that is referenced in the second user-defined format. See the Full Code tab for an example of the syntax.
Operating System and Release Information
SAS System | SAS/GRAPH | 64-bit Enabled Solaris | 9.2 TS1M0 | |
64-bit Enabled HP-UX | 9.2 TS1M0 | |
64-bit Enabled AIX | 9.2 TS1M0 | |
Windows Vista for x64 | 9.2 TS1M0 | |
Windows Vista | 9.2 TS1M0 | |
Microsoft Windows XP Professional | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
z/OS | 9.2 TS1M0 | |
HP-UX IPF | 9.2 TS1M0 | |
Linux | 9.2 TS1M0 | |
Linux for x64 | 9.2 TS1M0 | |
OpenVMS on HP Integrity | 9.2 TS1M0 | |
Solaris for x64 | 9.2 TS1M0 | |
*
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.
proc format;
value amt
1="$0"
2="$1-4,999"
3="$5,000-9,999"
4="More than $0";
run;
proc format;
value amtShort
4='Some, but unable to estimate amount'
other=[amt40.];
run;
data sr;
input resp val;
datalines;
1 4
4 6
2 6
3 2
;
run;
proc template;
define statgraph test;
begingraph;
layout overlay;
barchart x=resp y=val;
endlayout;
endgraph;
end;
run;
proc sgrender data=sr template=test;
format resp amt.;
run;
proc sgrender data=sr template=test;
format resp amtshort.;
run;
"Warn: format xxx. could not be instantiated.format BEST to be used." might be issued in the SAS Log when running one of the ODS Graphics Statistical Graphics (SG) procedures.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-12-18 11:29:44 |
Date Created: | 2012-12-11 16:21:57 |