>I am trying to figure out how to view frequencies for all codes of a
>single mention variable, even when there is no mention for some codes.
ViAnn Beadle gave what's probably the best answer. There's also the
famous "tiny weight" method. If your variable is Cat_Var and has codes
1 to 7; and the data can be read with file handle My_Data; do this (not
. NUMERIC Ltl_Wght (F5.3).
. LOOP Cat_Var = 1 TO 7.
. COMPUTE Ltl_Wght = 1E-3.
. END CASE.
. END LOOP.
END INPUT PROGRAM.
/FILE = *
/FILE = My_Data.
RECODE Ltl_Wght (SYSMIS = 1).
WEIGHT BY Ltl_Wght.