how do we mail reports from SAS environment to our team
leader
Answers were Sorted based on User's Feedback
Answer / santhosh
filename outbox email ;
data _null_;
file outbox
to=('xisguest@sas.com')
cc=
('santhosh.stats@gmail.com','lsantosh@sristek.com','kvasukii
n@gmail.com')
/* bcc=
('pavanj.sas@gmail.com','pavankumar@sristek.com')*/
Subject="Test Email"
Attach =("C:\Documents and
Settings\xisguest\Desktop\lenova.doc"
"C:\Documents and
Settings\xisguest\Desktop\new1.doc"
"C:\Documents and
Settings\xisguest\Desktop\new2.doc"
"C:\Documents and
Settings\xisguest\Desktop\new3.doc");
put 'Hi sristek/sas ,
this is santhosh from pune pfa for code for
sending mail';
run;
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / vijayabhargava.k
by using the option proc print to and specifying the path we
can expor the data set created and the datastep along with
the log to the required destination
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / pnprasad
SAS can have a special feature, i.e we can get many types
of Output by using ODS, word, xls,txt,pdf,html,xml and
many. The same we can send via mail. For example, sending
of the clinical data to FDA by converting the datasets in
to XML.
Is This Answer Correct ? | 0 Yes | 3 No |
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
What is program data vector (pdv)?
what is the difference between infile and input? : Sas-administrator
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 nodup and nodupkey options?
20 Answers iFlex, Makro, Talwar,
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
How do you put an elephant in the refrigerator?
How would you determine the number of missing or nonmissing values in computations?
How to merge the data using merge statement and proc format? Is the result is same ?
what techniques and/or procs do you use for tables? : Sas programming
How substr function works in sas?
what has been your most common programming mistake? : Sas programming