05-01-2018 08:21 PM
I got warnings in PROC SHEWHART process when two or more tests that are signaled at one particular point, the reason for the warning is because the label only display the first in the tests list. For example (see details below), if at the same data point, test1 and test3 are signaled, only 'test1' got seen from the plot. I searched in SAS document and find this is how the PROC SHEWHART plot works.
PROC SHEWHART DATA = WORK.SORTTempTableSorted
IRCHART (Var1) * Var2 /
TESTS= 1 2 3
The Warnings I got are as follows:
WARNING: The label test3 was not placed at Var2=***, since this subgroup was already flagged for a special test.
The Warnings will give me problem when try to have the code scheduled by the SAS Admin as she requires the coding should be no error and no warning for the scheduler to work. I need the _TESTS_ in the output to contains all the signaled tests ("test1" or "test2" or "test3" ), so I need the testlabel1, testlabel2 and testlabel3.
Is there any way to suppress or remove this warning? Or has SAS find out a way to show all the signaled tests on the plot so no such warnings will be printed in the log file?
05-04-2018 09:29 AM
Is it acceptable to pre-process the data to remove the duplicate points? If so, consider using the NODUPKEY option when you sort the data. (Or use the NODUP option; I don't know what your data look like.)
05-07-2018 12:13 PM
Thank you, Rick! There are unique data points in the data. For one data points, if test 1 and test 2 is signaled at the same time, it will give an warning in the log file said that test2 will not be placed as there is other tests has been flagged (test1). It's kind of warning comes from the PROC SHEWHART process.
Is that an coding to suppress all the warnings in SAS log file? I was required by the admin to be no errors and no warnings from the coding, so she can schedule on the server. otherwise according to what she said, the scheduled job will not run through.