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
What is the role of sas grid administrator? : sas-grid-administration
how will you locate the sas platform applications? : Sas-bi
What is connection profile? : sas-grid-administration
Describe the function and utility of the most difficult SAS macro that you have written?
what is hash files in sas and why we are using this one in sas?
how does sas handle missing values in assignment statements? : Sas programming
How to convert a numeric variable to a character variable?
what is the basic structure sas administrator? : Sas-administrator
What are the default statistics that proc means produce?
Do you need to know if there are any missing values?
How do you control the number of observations and/or variables read or written?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
What is the difference between the proc sql and data step?
explain the proc in sas? : Sas-administrator
What is the general format of function in sas? : sas-grid-administration