Starting the PSM Control Program

The PSM Control Program runs in its own virtual machine. To start the PSM Control Program manually, logon to the virtual machine in the usual way. The PSM Control Program can be started by simply entering its program name, as selected by the programmer at installation time. For example, if the programmer named the program ISQPSM, simply enter this in response to a Ready prompt:
Ready; T=0.04/0.05 19:52:14      
isqpsm
ISQMA0001I PSM Main Thread entered  
ISQMA0101I Thread 3 started as CSERV   
ISQMA0002I Waiting for Command Server thread to initialize    
 ISQCS0710I Command Server thread entered    
 ISQCS0205I Command Server valid FP addresses are 9.164.172.63 9.164.156.189 9.99.99.99 66.77
ISQMA0101I Thread 4 started as CNSERVER      
ISQMA0101I Thread 5 started as LOGGER       
 ISQCN0710I Console Server thread entered 
 ISQCN0711I Console Server thread initialized   
 ISQCS0711I Command Server thread initialized     ISQLG0710I Logger thread entered  
 ISQLG0711I Logger thread initialized   
Initially PSM messages are displayed on the VM console. These may be captured to a disk file by spooling the console file to a reader file. To initiate spooling enter a CMS SPOOL command; for example:
spool console start * 
Then start the PSM, as above. When you wish to create a complete file in the reader, enter a command:
spool console close
Spooling continues, and you may use the above spool console close command to create successive reader files. When spooling is to stop, enter the command:
spool console stop

(This does not write the remaining records to a reader file.)

If the above commands are to be entered while the PSM Control Program is running, the spool commands should be prefixed with cms:
cms spool console close
To automate the process of starting the PSM Control Program when the PSM virtual machine starts, add the ISQPSM command to the PROFILE EXEC of the PSM virtual machine.
On occasions, you may wish to start the PSM Control Program with traces active for threads that are started automatically. Before issuing the command to start the PSM, enter a CMS command of the following form:
GLOBALV  ISQTrace.comp   ON
Where comp is the trace option as used in the ISQTRACE request. (Usually one of CSERV, TCPIP, LOGGER or CNSERVER). Enter one command for each trace required.