You can run multiple instances of SERSERVC if needed. For example, you may want to run a development HTTP server and a production HTTP server. Each instance must have its own directory and a unique port.
To run another instance of the HTTP server:
Follow the installation instructions in Installing SERSERVC, substituting another name for this instance, such as SERSERVD, in place of SERSERVC.
Specify a different directory and port for this instance according to your company's installation standards.
Here are examples of JCL segments for a production system and a development system.
Production SERSERVC example:
//SERSERVC JOB MSGLEVEL=1
//STARTING EXEC SERSERVC
XXSERSERVC PROC OUTC=H, * CLASS
XX PORT=8188, * PORT
XX PATH='/u/serstart/serservc', * PATH
XX PROCLIB='USER.PROCLIB' * PROCLIB
Development SERSERVC example:
//SERSERVD JOB MSGLEVEL=1
//STARTING EXEC SERSERVD
XXSERSERVD PROC OUTC=H, * CLASS
XX PORT=6157, * PORT
XX PATH='/u/sernet/serservc', * PATH
XX PROCLIB='USER.PROCLIB' * PROCLIB