The SM (Send to MCS or Database) command sends a control command to an MCS or data base.
Syntax

Explanation
<mix number list> SM <user text>
Sends the user text to the MCS or data base in the mix number list. You can use the MCS (Message Control System) command to determine the active mix numbers of the MCS.
The user text sent to an MCS can be any control command implemented for that MCS. The command is placed in the primary queue of the MCS.
The user text sent to a data base can be any VISIBLE DBS command. These commands are described in the Utilities Operations Guide.
If the MCS or data base sends any messages in response to the user text it received, you can use the MSG (Display Messages) command to display these messages.
Examples
Example 1
In this example, the system sends the user text SS ALL HELLO to the MCS with the mix number 5268. The operator then enters the MSG (Display Message) command to display the response sent by the MCS.
5268 SM : SS ALL HELLO
MSG
--Mix--Time------------------ MESSAGES ------------------ *5268 16:26 DISPLAY: #.
Example 2
In this example, the operator wants to send a message to a database named PARTSDB. First, he or she uses the DBS command to list all active database stacks. The display shows that the mix number of the database named PARTSDB is 8239. The operator uses this mix number in the SM command to send a status request to that database. The operator then uses the MSG command to list the response to the status request. The relevant messages in the MSG list are those that begin with that mix number.
DBS
---Mix-Pri--Usr---------------- 1 ACTIVE DATABASE ------- 30679 50 1 Job (ADM) (ADM)TESTDB
30679 SM STATUS
---Mix-Time------------------ 21 MESSAGES -------------------- 30679 16:46 DISPLAY:OPEN COUNTS: INQUIRY =0, UPDATE = 1. 30679 16:46 DISPLAY:FORCED OVERLAYS = 0. 30679 16:46 DISPLAY:SYNC WAIT IS 0 SECONDS. 30679 16:46 DISPLAY:OVERLAYGOAL = 1 % ALLOWEDCORE / MINUTE. 30679 16:46 DISPLAY:RESIDENT TOTAL:ALLOWED=100000,IN USE=0. 30679 16:46 DISPLAY:CORE TOTAL:ALLOWED=200000,IN USE=24,OLAYRATE= 0%. 30679 16:46 DISPLAY:CONTROL POINT AGING AFTER AUDIT SWITCHES = FORCE. 30679 16:46 DISPLAY:SYNCPOINT = 1, CONTROLPOINT = 1. 30679 16:46 DISPLAY:CURRENT AUDIT SECTIONS = 1, CF AUDIT SECTIONS = DEFAULT.SPLAY:CURRENT AUDIT BUFFERS = 11, CF AUDIT BUFFERS = AUTOMATIC . 30679 16:46 DISPLAY:AUDIT BLOCKSIZE = 120, AREASIZE = 400, AREAS = 1. 30679 16:46 DISPLAY:AUDIT FILE# = 1,BLOCK SERIAL# = 73 (148/399=37%). 30679 16:46 DISPLAY:POPULATIONWARN IS NOT AVAILABLE FOR THIS DB. 30679 16:46 DISPLAY:POPULATIONINCR IS NOT AVAILABLE FOR THIS DB. 30679 16:46 DISPLAY:AUDIT PROCESSOR TIMES OFF. 30679 16:46 DISPLAY:PRINT STATISTICS = OFF. 30679 16:46 DISPLAY:TRACKERQPFACTOR = 1. 30679 16:46 DISPLAY:TRACKERFLUSHDB = 10. 30679 16:46 DISPLAY:(ADM)TESTDB: DMSII ACCESSROUTINES 46.141.0287.