Can anyone help to find a statement to get all the
predefined formats?
Answer Posted / diya
to use the permanent format catalog the statement is
libname a 'c:\sas\files';
options fmtsearch=(a.treesfmt);
proc print data=a.trees (obs=5) label;
run;
To use your permanent sas data set eith user-defined
fortmat for the future sas sessions you need to
1. assign a sas library to location of the sas format
catalog.
2. specfiy the name of the sas format catalog with the ftm
seacrch option.
for info this website
http://www.umass.edu/statdata/software/handouts/SASLevel2.pd
f
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is business intelligence? : Sas-bi
how to generate the test data in sas without input data? : Sas-administrator
what are the component of range? : Sas-bi
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.
Given an unsorted data set, how to read the last observation to a new data set?
Mention what is the difference between nodupkey and nodup options?
How do you test for missing values?
what is the difference between floor and ceil functions in sas? : Sas-administrator
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
What is the work of tranwrd function?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
what techniques and/or procs do you use for tables? : Sas programming
Have you ever used the SAS Debugger?
What is PROC in SAS?