A missing discrete dependent variable in the selection model together with an OUTPUT statement might cause an error in PROC QLIM


If the following conditions are met in PROC QLIM:

you might observe the following error message in the log:

Error: Read Access Violation in Task [ QLIM ) Exception occurred at (598D9EFD) Task Traceback

or

ERROR: Write Access Violation In Task [ QLIM ) Exception occurred at (598CD9CF) Task Traceback

To circumvent the problem, specify an arbitrary value for the discrete dependent variable that is missing when the selection variable is not being selected. If the discrete dependent variable is a characteristic variable in the data set, you need to change the variable to a numeric variable first, then specify an arbitrary numeric value for the missing value.