How do you download a flat file from Mainframe to your
local PC using SAS?
Answer Posted / poojavaibhav
A "flat file" is a plain text or mixed text and binary file which usually contains one record per line[2] or 'physical' record (example on disc or tape). Within such a record, the single fields can be separated by delimiters, e.g. commas, or have a fixed length. In the latter case, padding may be needed to achieve this length. Extra formatting may be needed to avoid delimiter collision. There are no structural relationships between the records.
You can use Import wizard or import procedure or infile statement to create sas dataset and then use file statement to write file in log.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between %put and symbolgen? : sas-macro
do you need to know if there are any missing values? : Sas programming
I have a dataset concat having variable a b & c. How to rename a b to e & f?
What is the use of function Proc summary?
Which are the statements whose placement in the data step is critical?
Explain translate function?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
how could you generate test data with no input data? : Sas programming
Mention common programming errors committed in sas ?
what is sas and what are the functions? : Sas-administrator
Give some examples where proc report’s defaults are same as proc print’s defaults?
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
how are numeric and character missing values represented internally? : Sas programming
how do you debug and test your sas programs? : Sas programming