VECTOR nom(4). LOOP #i = 1 to 4. COMPUTE nom(#i) = (cat = #i). END LOOP. EXECUTE.