Q & A: Host Server and Other Jobs Related to iSeries Access Functions

Document Title: Q & A: Host Server and Other Jobs Related to iSeries Access Functions

Abstract


Read about the frequently asked questions about IBM iSeries Access Host Server programs.



Document Description:
Question 1: What does the Start Host Server (STRHOSTSVR) command do?

Answer 1: The STRHOSTSVR *ALL command starts a number of daemon and server jobs related to various IBM iSeries Access functions.  On the V5R2 operating system, STRHOSTSVR starts the following servers:




Server:



Functions Performed:
Daemon Job (Program):
Library:
Default Subsystem for Job:
Server Job (Program):
Library:
Default Subsystem for Job:
Central Server

It is also known as *CENTRAL or as-central.
It provides services such as license management and translation table functions. QZSCSRVSD *PGM
QSYS *LIB
QSYSWRK *SBS
QZSCSRVS *PGM
QSYS *LIB
QUSRWRK *SBS
Database Server

It is also known as *DATABASE or as-database.
It is used for Data Transfer, ODBC, iSeries Navigator database, SQL APIs (DB APIs) and the iSeries Access for Windows OLE DB provider. QZDASRVSD *PGM
QSYS *LIB
QSERVER *SBS
QZDASOINIT *PGM (TCP/IP)
QZDAINIT *PGM (APPC)
QZDASSINIT *PGM (SSL)
QSYS *LIB
QUSRWRK *SBS
Data Queue Server

It is also known as *DTAQ or as-dtaq.
It provides access to data queue functions on the IBM System i products server. QZHQSRVD *PGM
QSYS *LIB
QSYSWRK *SBS
QZHQSSRV
QSYS *LIB
QUSRWRK *SBS
File Server

It is also known as *FILE or as-file.
The file server allows clients to store and access information, such as files and programs, located on the System i server. QPWFSERVSD *PGM
QSYS *LIB
QSERVER *SBS
QPWFSERVSO *PGM
QPWFSERVS2 *PGM
QPWFSERVSS *PGM (SSL)
QSYS *LIB
QSERVER *SBS
Network Print Server

It is also known as *NETPRT or as-netprt.
It provides remote print support and additional print management functions. QNPSERVD *PGM
QSYS *LIB
QSYSWRK *SBS
QNPSERVS *PGM
QSYS *LIB
QUSRWRK *SBS
Remote Command / Distributed Program Call Server

It is also known as *RMTCMD or as-rmtcmd.
It allows PC applications to issue simple IBM OS/400 or IBM i5/OS commands or to call OS/400 or i5/OS programs that return results. QZRCSRVSD *PGM
QSYS *LIB
QSYSWRK *SBS
QZRCSRVS *PGM
QSYS *LIB
QUSRWRK *SBS
Signon Server

It is also known as *SIGNON or as-signon.
It provides password management functions for host servers with sockets support. QZSOSGND *PGM
QSYS *LIB
QSYSWRK *SBS
QZSOSIGN *PGM
QSYS *LIB
QUSRWRK *SBS
Server Port Mapper

It is also known as *SRVMAP or as-svrmap
It provides the current server port number to a client requesting a connection. QZSOSMAPD *PGM
QSYS *LIB
QSYSWRK *SBS



Additional information related to the iSeries Access Host Servers can be found in the V5R4 Infocenter at:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaii/rzaiihstsvrbyfnctn.htm


Question 2: What controls the job description and class used by the server jobs?

Answer 2: By default, the server jobs run as prestart jobs.  The job description and class for the server job is configured in the prestart job entry.

To view the prestart job entry, do the following:

Note: This example uses the QZRCSRVS (*RMTCMD) server job.

1 On the operating system command line, type the following:

DSPSBSD QUSRWRK

Press the Enter key.
2 Select Option 10 - Prestart job entries, and press the Enter key.
3 Select Option 5 - Display details on QZRCSRVS, and press the Enter key.

The job description is displayed on the first screen.  Roll down to display the class.

Additional prestart configuration information is displayed on these screens.



Question 3: What command is used to change the prestart job entry settings?

Answer 3: Use the Change Prestart Job Entry (CHGPJE) command to change prestart job entry settings.  The following example is used to make a change to the QZDASOINIT (*DATABASE) server job:

CHGPJE

Press F4 to prompt.  Fill in the Subsystem description with QUSRWRK, and fill in the Program with QZDASOINIT.  Press F10 to display additional parameters.  Make any necessary changes.

Question 4: Why do server jobs sometimes run as BCI (Batch Immediate) jobs rather than PJ (prestart jobs)?

Answer 4: If a server job is unable to start in the subsystem that contains the prestart job entry for that server job, the server job will start as a BCI job in the same subsystem that the daemon job for that function is running in.  The BCI job attributes will be copied from the parent job (the daemon job).  Use the QZSCSRVS (*CENTRAL) server job as an example.

Normally QZSCSRVS runs in the QUSRWRK subsystem.  If QZSCSRVS is unable to start in the QUSRWRK subsystem, the daemon job for the *CENTRAL Server (QZSCSRVSD) will start a QZSCSRVS batch immediate job in the QSYSWRK subsystem because that is where the daemon job runs.  QZSCSRVSD is considered the parent job and the QZSCSRVS BCI job will take its job attributes from QZSCSRVSD.


Some of the reasons a server job is unable to start in the subsystem that contains the prestart job entry include:

1 The subsystem is not active.
2 The subsystem is active, but the number of job requests received exceed the number specified in the maximum number of jobs parameter on the prestart job entry.  The daemon job will create batch immediate jobs to handle the additional jobs.


Note: This is not a complete list.  There can be other reasons that a server job cannot start in the subsystem that contains the prestart job entry.

Question 5: Where can I look in the V5R4 Infocenter to find additional information?

Answer 5: General information about prestart jobs can be found in the Infocenter at the following Web site:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaks/rzaksprestarttype.htm

General information about batch immediate jobs can be found at the following Web site:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaks/rzaksbatchjob.htm

Information about the use of prestart jobs can be found at the following Web site:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaii/rzaiimstprestrtjob.htm

A list of Host Servers by iSeries Access function can be found at the following Web site:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaii/rzaiihstsvrbyfnctn.htm

Information about using Host Servers can be found at the following Web site:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaii/rzaiimst27.htm