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 length assigned to the target variable by the scan function?
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
What system options would you use to help debug a macro? : sas-macro
What are the limitations for memory allocation for SAS variables
what are sas/access and sas/connect? : Sas programming
what r the job openings SAS for fresher graduates !
Mention what is the difference between nodupkey and nodup options?
what is transformation in sas data integration? : Sas-di
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?
what is metadata? : Sas-bi
What do you know about sas data set?
do you prefer proc report or proc tabulate? Why? : Sas programming
why is sas data integration studio important? : Sas-di
Intern stastical programmer written test