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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 987 views
  • 0 likes
  • 3 in conversation