Chapter 2. Setting up a Content Manager OnDemand instance 35
Table 2-1   Behavior of the STRTCPSVR command with or without the STRCPSVR data 
Stopping the servers 
Servers are stopped by running ENDTCPSVR *ONDMD. The instance parameter of the STRTCPSVR 
*ONDMD command supports the special values of *DFT and *ALL, and the specification of the 
name of an instance. The default value for the INSTANCE parameter is *DFT. Y ou also can 
create a data area that is named STRTCPSVR to further control the behavior of the ENDTCPSVR 
command. Create the data area as described in “Starting the servers” on page 34. For more 
information about the data area, see the IBM Content Manager OnDemand for i - Common 
Server Administration Guide, SC19-2792. Even though the data area is named STRTCPSVR, it 
controls both the STRTCPSVR and ENDTCPSVR commands by design so that *DFT starts and ends 
the same instance. 
Without the STRTCPSVR data area, the values of *DFT and *ALL work identically. All instances 
that are active are ended. Y ou can also specify the name of a single instance to end, for 
example: 
ENDTCPSVR SERVER(*ONDMD) INSTANCE(ONDTEST)
With the data area, the value of *DFT ends only the instance that is named in the data area. 
The data area must be named STRTCPSVR and in library QUSRRDARS. 
Table 2-2 summarizes the behavior of the ENDCPSVR command with and without the data area. 
Table 2-2   Behavior of the ENDCPSVR command with or without the data area
Server work management 
Server jobs are started by using a job description with the name of the instance, which must 
be in the instance library. If a job description with that name is not found in the instance 
library, job description QOND400 in library QRDARS is used (and can be changed if necessary). 
The job description controls the following attributes of the server job: 
/SM590000JOBQ 
/SM590000JOBPTY 
/SM590000OUTPTY 
/SM590000PRTDEV 
/SM590000OUTQ 
Running 
STRTCPSVR start
*DFT *ALL *AUTOSTART Named 
instance
Without the data 
area
All instances set 
to autostart
All instances that 
are configured on 
the system
All instances 
set to autostart
The named 
instance
With the data area Only the instance 
that is named in 
the data area
All instances that 
are configured on 
the system
All instances 
set to autostart
The named 
instance
Running 
ENDCPSVR 
ends
*DFT *ALL Named instance
Without the data 
area
All active instances All active 
instances
The named instance
With the data 
area
Only the instance that is named 
in the data area
All active 
instances
The named instance