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 a time when you were really stuck on a problem and how you solved it?
How does proc sql work?
where are dashboard components are created and maintained? : Sas-bi
What are the ways in which macro variables can be created in sas programming?
What is SAS? What are the functions does it performs?
What is your favorite all time computer book? Why?
what is the use of proc contents and proc print in sas? : Sas-administrator
How can sas program be validated?
what is broad cast agent? : Sas-bi
What are the different operating system platforms in which we can use sas? : sas-grid-administration
what are validation tools that are used in sas? : Sas-administrator
how to read the variables in sas? : Sas-administrator
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
What is the command used to find missing values?
explain the function of substr in sas? : Sas-administrator