LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 6 May 2003 15:28:52 -0400
Reply-To:     Yibing Chen <yibing_chen@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Yibing Chen <yibing_chen@YAHOO.COM>
Subject:      How to save typing variable names

Hi, every one, I'm lazy to type. Can you show me how to deal with the following rename option that don't have to type each variable. ( I tryed rename = (v:=x:). It does not work.

DATA A; INPUT @1 V1 $1. @3 V2 $1. @5 V3 $1.; DATALINES; A B C X Y Z I J K U V W ; RUN; DATA B; SET A (RENAME = (V1=X1 V2=X2 V3=X3)); RUN;

PROC PRINT DATA=B ; TITLE 'TEST'; RUN;


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