Read Access Violation error in PROC BOXPLOT or PROC SHEWHART


When the HAXIS= or VAXIS= option is used on the PLOT statement in PROC BOXPLOT to assign an axis definition and the corresponding AXIS statement contains a text description suboption after quoted text instead of before it, then PROC BOXPLOT might abend with the following error:

  ERROR: Read Access Violation In Task [ BOXPLOT )

The same problem occurs with any of the chart statements in PROC SHEWHART when a similar AXIS statement is specified. Then the procedure might abend with:

  ERROR: Read Access Violation In Task [ SHEWHART )

To circumvent the problem, place the text description suboption before the text string it modifies.

For example, the following is incorrect:

axis1 label=('Group' justify=left);
proc boxplot;
   plot measure*group / haxis=axis1;
   run;

Here is the correct code:

axis1 label=(justify=left 'Group');
proc boxplot;
   plot measure*group / haxis=axis1;
   run;