Specifying DATA step options in the DATA = option in a PROC MDC statement might generate an error when a CLASS or MDCDATA statement is specified


You encounter an error under the following conditions:

In this scenario, one of the following messages might appear in the log:

Error: Variable number xxxxxxxxxx is not on file
ERROR: An exception has been encountered.
Error: Read Access Violation In Task [ MDC ]

To circumvent the problem, perform the DATA step options in a DATA step prior to entering the PROC MDC step.