BookmarkSubscribeRSS Feed
Stephane
Quartz | Level 8
Hi

Using SEG 4.1 thin client and a Zos server, I'd like to export a SAS table from my server to my PC as a .txt file. How do I do that ?
5 REPLIES 5
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You can use PROC EXPORT to generate a delimited text file. Have a look at the SAS support http://support.sas.com/ website for DOC and supplemental technical papers on the topic of exporting SAS data to a text / delimited (external) file.

Scott Barry
SBBWorks, Inc.
Stephane
Quartz | Level 8
NOTE: The Import/Export facility is not supported on this operating system.

this is the answer...and this is why I ask. 😉
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Explore using ODS CSV to create a comma-delimited file (using FILENAME statement), generated by PROC PRINT.

Scott Barry
SBBWorks, Inc.
artmorlock
Fluorite | Level 6
Bit of a kludge, but you can create a code object and use ods to create a comma separated text file.

ods csv file='stephanie.txt';
run;
proc print data=zos.dataset;
run;
ods csv close;

> Hi
>
> Using SEG 4.1 thin client and a Zos server, I'd like
> to export a SAS table from my server to my PC as a
> .txt file. How do I do that ?
ChrisHemedinger
Community Manager
Sorry for coming late to this party, but have you tried File->Export from SAS EG? You should be able to export the SAS table on MVS to any of several formats on your local PC, including text, Excel, etc.

Chris
Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 5 replies
  • 1421 views
  • 0 likes
  • 4 in conversation