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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1023 views
  • 0 likes
  • 2 in conversation