CSM is documented in the MainView AutoOPERATOR Solutions Guide manual. If you are doing this from a Rule, you will need to figure out how to know when CSMSTAT ends, so that you can do CSMSCAN. We would recommend that you write your own EXEC that does IMFEXEC SELECT EXEC(CSMSTAT) WAIT(YES) and then IMFEXEC SELECT EXEC(CSMSCAN) WAIT(YES). The WAIT(YES) will ensure that the EXECs occur in the right order.
If you require any further clarification or have additional questions, please open a support case for MainView AutoOPERATOR. Support will be more than happy to assist.