define PERSONA.situemp AS SWITCH incase PERSONA.P27 = 3 assign 1 incase PERSONA.P27 = 5 assign 2 incase PERSONA.P27 = 1 assign 3 incase PERSONA.P27 = 2 assign 4 incase PERSONA.P27 = 4 assign 5 incase PERSONA.P27 = 6 assign 9 else 0 range 1:9 varlabel "Categoría de ocupación" valuelabels 1 "Empleadores" 2 "Empleado u obrero" 3 "Trabajador por cuenta propia" 4 "Trabajador en negocio familiar" 5 "Trabajador servicio domestico" 9 "No especificado" FILTER pet = 1 TABLE PY02C5OC FREQ ciudadres by situemp by ciudadres5