Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the length assigned to the target variable by the scan function?

1097


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

1554


What system options would you use to help debug a macro? : sas-macro

1051


What are the limitations for memory allocation for SAS variables

1427


what are sas/access and sas/connect? : Sas programming

943


what r the job openings SAS for fresher graduates !

2391


Mention what is the difference between nodupkey and nodup options?

954


what is transformation in sas data integration? : Sas-di

975


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

959


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2737


what is metadata? : Sas-bi

971


What do you know about sas data set?

1024


do you prefer proc report or proc tabulate? Why? : Sas programming

935


why is sas data integration studio important? : Sas-di

977


Intern stastical programmer written test

682