Date: Wed, 19 Aug 2009 16:44:48 -0500
Reply-To: Jamil Ibrahim <jibrahim@ACADAFF.UMSMED.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jamil Ibrahim <jibrahim@ACADAFF.UMSMED.EDU>
Subject: ODS pdf by id
Content-Type: text/plain; charset="US-ASCII"
I usually output my course evaluations by faculty using OD pdf as one pdf file but can I parse the pdf file where it automatically creates a separte pdf file for each instructor.
a sample code:
PROC SORT; BY instructor id Q;
ods listing close;
ods pdf file='c:\output\test.pdf';
DATA _NULL_; SET WORK END=EOF; BY instructor id Q;
FILE PRINT HEADER=HDR ; PUT @1 DESC1 $char63. @66 "N" (CNT1-CNT&Y) (&Y * 6.) +3 tot 3. /
@1 DESC2 $char63. @66 "%" (PCT1-PCT&Y) ( &Y * 6.)
@1 DESC3 $char63. /;
RUN; ods pdf close;
ods listing ;
so I want test.pdf to be the name of instructor. so if there are 10 instructors, it should create 10 pdf files with instructor name is the name of the pdf files.
Dr. Jamil Ibrahim, Ph.D.
Professor , SHRP
Univ. Of Miss. Med. CTR.
2500 N state St
Jackson, MS 39216
The information contained in the attachment(s) to this email is confidential. If you were not expecting a confidential email from the Department of Institutional Research at the University of Mississippi Medical Center, please do not view, open, disclose, reproduce, distibute or otherwise use this attachment. If you received this email in error, please notify me immediately. Thank you.
Individuals who have received this information in error or are not authorized to receive it must promptly return or dispose of the information and notify the sender. Those individuals are hereby notified that they are strictly prohibited from reviewing, forwarding, printing, copying, distributing or using this information in any way.