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 (November 1998, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 11 Nov 1998 08:16:57 -0500
Reply-To:   gspatel@PEPCO.COM
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Girish Patel <gspatel@PEPCO.COM>
Comments:   To: Mike Janicke <Mike.Janicke@JMAGROUP.COM>
Content-type:   text/plain; charset=us-ascii

Try this...................

DATA CURVDATA; infile cards missover; <<<<<<<<<<<<< new format cp1-cp7 4.2; <<<<<<<<<<<<< new INPUT CURVE $5. CP1 - CP7; CARDS; WU411 0.00 1.20 2.41 3.61 4.82 6.02 7.23 ; proc print; run;

Mike Janicke <Mike.Janicke@JMAGROUP.COM> on 11/11/98 08:11:21 AM

To: SAS-L@UGA.CC.UGA.EDU cc: (bcc: Girish S Patel/TEB/CEC) Subject:

Could anyone please explain why this code splits the character variable WU411 into WU$ and 11? Thanks!

DATA CURVDATA; INPUT CURVE $5. CP1 - CP7; CARDS; WU411 0.00 1.20 2.41 3.61 4.82 6.02 7.23 ;

PROC PRINT DATA = CURVDATA;

this is the output:

OBS CURVE CP1 CP2 CP3 CP4 CP5 CP6 CP7

1 WU4 11 0 1.2 2.41 3.61 4.82 6.02


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