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

for what purpose would you use the retain statement? : Sas programming

1097


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1085


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

2121


Briefly explain input and put function?

1085


which date function advances a date, time or datetime value by a given interval? : Sas programming

1051


what are several options for creating reports in web report studio? : Sas-bi

1157


how will you location sas platform applications available from web browser? : Sas-bi

1076


what is sas metadata repository? : Sas-bi

1119


How to test the debugging in sas?

1179


What is PROC in SAS?

1058


what is sas metadata server? : Sas-di

1107


what is sas enterprise intelligence architecture? : Sas-bi

977


What is run-group processing?

1163


how to read the variables in sas? : Sas-administrator

1023


What is the difference between the proc sql and data step?

1177