| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
Anand78
Joined: 06 Mar 2006
Posts: 48
Location: PUNE
|
| Posted: Mon Sep 01, 2008 6:23 pm Post subject: To create CSV file using SAS |
|
|
Hi all,
Please anyone knowing SAS , tell me syntax to create CSV file using SAS.
Thanks
Anand |
|
| Back to top |
|
expat
Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...
|
| Posted: Mon Sep 01, 2008 6:56 pm Post subject: |
|
|
How do you think that it should be done, as you will need to create an external file with each variable followed by a delimiter.
HINT = use TRIM(variable) to save space |
|
| Back to top |
|
superk
Joined: 26 Apr 2004
Posts: 3304
Location: Charlotte,NC USA
|
| Posted: Mon Sep 01, 2008 8:21 pm Post subject: Reply to: To create CSV file using SAS |
|
|
| Look here at the SAS(R) 9.2 Output Delivery System: User's Guide. |
|
| Back to top |
|
expat
Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...
|
| Posted: Mon Sep 01, 2008 10:17 pm Post subject: |
|
|
Kevin,
Is ODS not an "add on & pay for" part of SAS ? |
|
| Back to top |
|
superk
Joined: 26 Apr 2004
Posts: 3304
Location: Charlotte,NC USA
|
| Posted: Mon Sep 01, 2008 10:35 pm Post subject: Reply to: To create CSV file using SAS |
|
|
| I think it's included in SAS/Base. |
|
| Back to top |
|
Robert Sample
Joined: 06 Jun 2008
Posts: 943
Location: Atlanta, GA
|
| Posted: Tue Sep 02, 2008 6:12 am Post subject: |
|
|
| Output Delivery System is part of Base SAS although not all the conversions are part of base SAS. CSV files are Base, so the referenced link will provide the requested information. |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|