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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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