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 order of application for output data set options, input data set options and SAS statements?
For what purpose would you use the RETAIN statement?
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager
Mention the difference between ceil and floor functions in sas?
Describe the ways in which you can create a macro variable?
How do dates work in SAS data?
what are some differences between proc summary and proc means? : Sas programming
Which function is used to count the number of intervals between two sas dates?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
What is a method to debug and test your SAS program?
what is the difference between nodup and nodupkey options? : Sas programming
What makes sas stand out to be the best over other data analytics tools?
How to create a permanent sas data set?
If you could design your ideal job, what would it look like?
Did you used proc test? when?