| Date: | Tue, 29 Jun 2004 15:58:07 -0400 |
| Reply-To: | Bruce Johnson <bjohnson@SOLUCIENT.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Bruce Johnson <bjohnson@SOLUCIENT.COM> |
| Subject: | Re: Rename a format |
|
| Content-Type: | text/plain; charset="us-ascii" |
Try this:
proc format cntlout=ageform;****To put the format into a dataset;
value age
0-18="pediatric"
19-45="Child-bearing"
46-64="Second-Wind"
65-High="End of the Road"
;
run;
data ageform;
set ageform;
if fmtname="AGE";****To keep only the AGE format;
run;
data ageform;
set ageform;
fmtname="NEWAGE";***Changes the name of the format;
run;
proc format cntlin=ageform;
run;
________________________________
Bruce A. Johnson
bjohnson@solucient.com
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Nicole Bibb
Sent: Tuesday, June 29, 2004 2:51 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Rename a format
Is there a way to rename a format once created?
This message is a private communication. It may contain information that is confidential
and legally protected from disclosure. If you are not an intended recipient, please do
not read, copy or use this message or any attachments, and do not disclose them to others.
Please notify the sender of the delivery error by replying to this message, and then
delete it and any attachments from your system.
Thank you,
Solucient LLC
(rev eXclaimer 2x)
|