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...

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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