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
describe the interaction table in sas di? : Sas-di
where are dashboard components are created and maintained? : Sas-bi
Explain substr function?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
for report generation which one you used proc report or data_null_?
what are the scrubbing procedures in sas? : Sas programming
What are the table names in oracle database...?
What is the sas data set? : sas-grid-administration
What is the difference between one to one merge and match merge? Give an example.
how would you create multiple observations from a single observation? : Sas programming
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
Describe a time when you were really stuck on a problem and how you solved it?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro