BookmarkSubscribeRSS Feed
Inp
Obsidian | Level 7 Inp
Obsidian | Level 7
Hi Dear
I am using (SAS Release Software 9.2 (TS2M3) believing latest version.

When I use the below stamtent/s

libname flexlib 'C:\PROJECTS\flex';
proc copy in=flexlib out=work;
run;

It copied all the datasets except format. Do I have to installed any patch to fix this issue.

I tried may ways : proc datasets as well. but it copied everything except formats..

When I check the folder C:\PROJECTS\flex, I see the format : formats.sas7bcat


When I use the previous verion SAS : Software 9.2 (TS2M0) , I didn't have any problem like this.

Thanks so much for your help in advance.


Tony
2 REPLIES 2
SPR
Quartz | Level 8 SPR
Quartz | Level 8
Hello lnp,

I think that the reason is that normal SAS dataset file has the sas7bdat extension which is different from sas7bcat that format has.

In general you can rename file extension of your format file before copying it but it is not a good idea if you have a lot of format files...

Sincerely,
SPR
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Have a look at the SAS DOC on PROC COPY uses. Also, consider using PROC CATALOG.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic / post:

copy sas catalog site:sas.com

proc catalog site:sas.com

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
  • 2 replies
  • 972 views
  • 0 likes
  • 3 in conversation