f



Re: if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ?

OR

          you could use ARRAY

     data new;
             set old;
             array igor  $ (*)  str_mo str_da str_yr;
             do over igor;
              if igor   ~in (' ','.') then do;

              end;
     run;



Prasad Ravi






                         Igor Kurbeko
                         <ikurbeko@ATHEROGENIC  To:    SAS-L@LISTSERV.UGA.EDU
                         S.COM>                 cc:
                         Sent by: "SAS(r)       Subject: if str_mo not in ('','.') and str_da not in ('','.') and str_yy
                         Discussion"                   not in ('','.') Any shorter ?
                         <SAS-L@LISTSERV.UGA.E
                         DU>


                         10/22/2003 02:13 PM
                         Please respond to
                         Igor Kurbeko






Hi, there.



I'm just curious if  it ever dawned  on anybody how to abbreviate  this
line :

if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in
('','.')



Igor Kurbeko

Clinical Programmer Analyst

678 336 4328

ikurbeko@atherogenics.com



no brain no pain
0
10/22/2003 9:40:20 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
2169 Views

Similar Articles

[PageSpeed] 38

Reply: