How do you download a flat file from Mainframe to your
local PC using SAS?
Answer Posted / sastechies
I would use FileName FTP statement...
FILENAME FILE2 FTP 'PDSNAME' HOST='host'
CD= "'dir'"
user='user'
pass='pass'
lrecl=256
debug;
data _NULL_;
infile FILE2 lrecl=26095;
file "file.txt" lrecl=3000 pad;
input;
put _infile_;
run;
Any other method....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
for what purpose would you use the retain statement? : Sas programming
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?
Briefly explain input and put function?
which date function advances a date, time or datetime value by a given interval? : Sas programming
what are several options for creating reports in web report studio? : Sas-bi
how will you location sas platform applications available from web browser? : Sas-bi
what is sas metadata repository? : Sas-bi
How to test the debugging in sas?
What is PROC in SAS?
what is sas metadata server? : Sas-di
what is sas enterprise intelligence architecture? : Sas-bi
What is run-group processing?
how to read the variables in sas? : Sas-administrator
What is the difference between the proc sql and data step?