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 (March 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 29 Mar 2002 08:37:57 -0800
Reply-To:     shiling zhang <shiling99@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         shiling zhang <shiling99@YAHOO.COM>
Subject:      Re: Report like a formular
Content-Type: text/plain; charset=ISO-8859-1

Those fields information is stored in sashelp.vcolumn. Using the power data step + put statement will create the file you want.

data test; attrib solddate length=8 format=yymmdd10. label='sold date'; solddate='1jan1960'd; run;

data _null_; set sashelp.vcolumn(where=(upcase(libname)='WORK' and upcase(memname)= 'TEST')); if _n_=1 then put @1 "name" @20 "type" @25 "length" @35 "format" @45 "label"; put @1 name @20 type @25 length @35 format @45 label; run; (=?ISO-8859-1?Q?J=F6rg?=) wrote in message news:<>... > Hi, > who can help me. I want to print a single record like a formular, for > that I want to advise the SAS to print fields in certain columns and > lines as you can do it in Access or Visual Basic. What I found is > only how I can print the record in a list. The following example > should give you an idea what I want to do: > > ------------------------------------------------------------- > general data > > Field01: 12345 Field02: XXXXXXXXXXXXXXX > > Field03: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > -------------------------------------------------------------- > additional data > > Field04: 123456 'Meaning of Field 04' > Field05: 123456 'Meaning of Field 05' > ------------------------------------------------------------- > > Best regards

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