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
Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

Catch up on SAS Innovate 2026

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

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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