These messages:
ERROR: Invalid Operation.
WARNING: The data set AAA.BBB may be incomplete. When this step was stopped there were x observations and y variables.
appear in the SAS log if the following conditions are met:
1) You use the WEIGHT or FREQ statement and the variable specified in the statement contains one or more missing values, and
2) You use the PREDICT= or PREDPROBS= option in the OUTPUT statement or the INFLUENCE, IPLOTS, or CTABLE option in the MODEL statement.
The displayed output from PROC LOGISTIC is correct, however the output data set is incomplete, as indicated. You can avoid this problem by removing any observations with missing WEIGHT or FREQ values. Alternatively, you can use PROC GENMOD to fit the model instead of PROC LOGISTIC.