BookmarkSubscribeRSS Feed
xiaolufan
Calcite | Level 5

Dear all,

 

When I tried to import the dataset, there is an error keep showing, which is:

 

ERROR: Cannot create PROC FORMAT style format with the same name as an Institute-supplied format

 

I was also tried to remove the previous format, but it still does not working.

 

Here is my log file:

(I use the University edition)

 

 
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
55
56 proc import datafile ='/folders/myfolders/project/09836-0002-Data/'
57 dbms=sav
58 out=dataset2
59 replace;
60 run;
 
ERROR: Cannot create PROC FORMAT style format with the same name as an Institute-supplied format
NOTE: The import data set has 10258 observations and 495 variables.
NOTE: WORK.DATASET2 data set was successfully created.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 1.21 seconds
cpu time 0.80 seconds
 
 
61
62 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 
 
Can anyone help me to solve this problem, I will be appreciate.
1 REPLY 1
Reeza
Super User

Interesting, I wonder if there's a way to get around this.  

This may be one option:

 

Option nofmterr; 

 

And/or try using DBMS=SPSS instead of SAV

This seems to be the current standard. 

 

And lastly, try specifying a format library. 

See example 3 here:

http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n1h6b01uh0dm2yn1fp...

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1178 views
  • 0 likes
  • 2 in conversation