what is TAB delimiter? explain about it? what will you do to
get TAB delimiter?
Answer Posted / pnprasad
SAS reds the data from different files like .txt ASCII .xls
etc. For this use INFILE statement. While using this
statment we have to check the data formated in the related
file, i.e some may space, coma, tabs. So, if the file
contains TAB is the delimiter, we have to use
DLM=TAB / '09'X,(note: this is for horizantal TAB) to get
the observations in a defined format. (for Vertical TAb,
DLM='021'X.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
How do you delete duplicate observations in sas?
What is the function of output statement in a SAS Program?
Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.
what is the difference between infile and input? : Sas-administrator
What is data _null_?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
explain what is data set in sas? : Sas-administrator
What sas features do you use to check errors and data validation?
why is a stop statement needed for the point=option on a set statement? : Sas programming
describe the interaction table in sas di? : Sas-di
Name types of category in which SAS Informats are placed?
Why double trailing @@ is used in input statement?
Give e an example of..
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?