LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 19 Nov 2004 19:11:23 -0500
Reply-To:     "Chang Y. Chung" <chang_y_chung@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Chang Y. Chung" <chang_y_chung@HOTMAIL.COM>
Subject:      Re: proc report into PDF
Comments: To: Nageswara Rao Punnani <npunnani@REDIFFMAIL.COM>

On Fri, 19 Nov 2004 23:42:22 -0000, nageswara punnani <npunnani@REDIFFMAIL.COM> wrote:

> hi all,

I am trying to create a data dictionary from a data library and output into the ODS PDF destination . I want a report without any frills and fancies and so i am just opening the PDF destination before the proc report and then closing the destination after the proc. But all i am getting is a blank pdf file. i would appreciate if someone can help me on this..

proc report data=test.fmc1a; column table memname varnum name type label format;

define table /order order=data width = 2; define memname /order order=data width = 20; define varnum /display width = 2; define name /display width = 10; define type /display width = 10; define label /display width = 25; define format /display width = 10; run;

Hi, rao,

HTH. Tested on sas 9 on windows xp. Change the field width as you see fit.

Cheers, Chang

%let pwd = %sysfunc(pathname(WORK)); %put NOTE: pwd=&pwd.; x cd &pwd.;

ods listing close; ods pdf file="myReport.pdf"; /* select sashelp.class table */ proc report nowd data=sashelp.vcolumn( where=(libname="SASHELP" and memname="CLASS") ); column libname memname varnum name type label format; define libname /order order=data width = 10; define memname /order order=data width = 10; define varnum /display width = 10; define name /display width = 10; define type /display width = 10; define label /display width = 25; define format /display width = 10; run; ods pdf close; ods listing;


Back to: Top of message | Previous page | Main SAS-L page