BookmarkSubscribeRSS Feed
PhanS
Obsidian | Level 7
Anyone please assist the issue. Thank you!

proc export
data=COVID.los_;
outfile="/home/ps/COVID/los_.xlsx"
dbms=xlsx
replace
;
run;

proc export
data=COVID.los_;
outfile="/home/ps/COVID/los_.csv"
dbms=csv
replace
;
run;

Both received the same message. ERROR: FILE= or TABLE= is rerequired and must be specified

NOTE: The data was available in Work and Lib.

 

1 REPLY 1
PhanS
Obsidian | Level 7

I've learned the issue ";" Everything is good after removing it! 

data=COVID.los_; 

 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 211 views
  • 0 likes
  • 1 in conversation