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 (February 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Feb 2000 15:37:55 +0100
Reply-To:     peter.crawford@DB.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter Crawford <peter.crawford@DB.COM>
Subject:      Antwort: wildcards
Comments: To: Howard_Schreier@ita.doc.gov, lars.ladfors@telia.com
Content-type: text/plain; charset=us-ascii

You are right 175 data test; 176 a= '123' ; 177 if a =: '1234' then b='Howard_Schreier@ita.doc.gov' ; 178 else b='Peter.Crawford@db.com' ; 179 put _all_ ; 180 run;

A=123 B=Howard_Schreier@ita.doc.gov _ERROR_=0 _N_=1 NOTE: The data set WORK.TEST has 1 observations and 2 variables. NOTE: The DATA statement used 0.18 seconds.

my apols to the list, in particular lars.ladfors@telia.com.

My thanks and appreciation to 'Howard_Schreier@ita.doc.gov' ; The above test demos his point that =: uses the shorter length

Datum: 16.02.2000 14:24 An: Peter Crawford/Zentrale/DeuBaExt

Betreff: wildcards Nachrichtentext:

> plexus=(BDIAG1=:'767');

> that : implies use just the length of the value on the right hand side.

Not exactly. If BDIAG1 had length <3, both sides would be truncated prior to comparison.


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