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

Describe a time when you were really stuck on a problem and how you solved it?

2642


How does proc sql work?

1102


where are dashboard components are created and maintained? : Sas-bi

1023


What are the ways in which macro variables can be created in sas programming?

1119


What is SAS? What are the functions does it performs?

1206


What is your favorite all time computer book? Why?

2519


what is the use of proc contents and proc print in sas? : Sas-administrator

1065


How can sas program be validated?

1041


what is broad cast agent? : Sas-bi

1077


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1080


what are validation tools that are used in sas? : Sas-administrator

1066


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

1026


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

1290


What is the command used to find missing values?

1108


explain the function of substr in sas? : Sas-administrator

1020