Writing CAE Server log files to SYSOUT

Writing the CAE Server log files to SYSOUT instead of to an FS location enables easy access to the CAE Server log files.

Note: If you choose to write the CAE Server log files to SYSOUT, ensure that the spool is sufficiently large to hold the output that might be produced.

When you run the CAE Server as a PROC and you want to write the CAE Server log files to SYSOUT, change DD STDOUT to SYSOUT=*

For example, change the following:

//*------------------------------------------------------------------*
/*MESSAGE STARTING CQM CAE SERVER                                     
//SERVER   EXEC PGM=BPXBATCH,REGION=800M,TIME=NOLIMIT,                
//            PARM='SH /u/username/cqm/bin/start_cae_server'          
//*           PARM='SH /u/username/cqm/bin/start_cae_server -shutdown'
//STDOUT   DD PATH='/var/cqm/logs/cae_server.log',                    
//            PATHOPTS=(OWRONLY,OCREAT,OAPPEND),                      
//            PATHMODE=(SIRWXU,SIRWXG,SIRWXO)                         
//STDENV   DD *                                                       
CQM_VAR_HOME=/configuration/location                                  
CQM_JAVA=/usr/lpp/java/J11.0_64                                      
CQM_LOGS=/var/cqm/logs                                                
CQM_HEAP=500                                                          
/*

To:

//*------------------------------------------------------------------*
/*MESSAGE STARTING CQM CAE SERVER                                     
//SERVER EXEC PGM=BPXBATCH,REGION=800M,TIME=NOLIMIT,                
//            PARM='SH /u/username/cqm/bin/start_cae_server'          
//*           PARM='SH /u/username/cqm/bin/start_cae_server -shutdown'
//STDOUT   DD SYSOUT=*
//*STDOUT  DD PATH='/var/cqm/logs/cae_server.log',                    
//*           PATHOPTS=(OWRONLY,OCREAT,OAPPEND),                      
//*           PATHMODE=(SIRWXU,SIRWXG,SIRWXO)                         
//STDENV   DD *                                                       
CQM_VAR_HOME=/configuration/location                                  
CQM_JAVA=/usr/lpp/java/J11.0_64                                      
CQM_LOGS=/var/cqm/logs                                                
CQM_HEAP=500                                                          
/*