CASE
Data step code. SQL or the GUI. CASE when (DCMV not in ( "" , "Y" , "N" ) or RCMV not in ( "" , "Y" , "N" )) then "*** ERROR ***" when (DCMV= "" and RCMV = "" ) then "BB" when (DCMV= "" ) then catt( "B" , RCMV) when (RCMV= "" ) then catt(DCMV, "B" )
142 views • 1 slides