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 sas enterprise intelligence architecture? : Sas-bi
Have you ever used the SAS Debugger?
What is the use of %include statement?
What is the function of Stop statement in a SAS Program?
what is data access? : Sas-di
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
what r the job openings SAS for fresher graduates !
Explain the use of proc print and proc contents?
Difference between sum function and using “+” operator?
This entry was posted in General. Bookmark the permalink. Post a comment or leave
what is slowly changing dimension? : Sas-di
What’s the difference between var b1 – b3 and var b1 — b3?
Name types of category in which SAS Informats are placed?
What are the limitations for memory allocation for SAS variables
Explain the difference between informat and format with an example.