PKISERVD sample procedure to start PKI Services daemon

PKISERVD is the sample procedure to start PKI Services daemon. The PKI Services daemon runs as a started task. The procedure for this can be found in 'SYS1.PROCLIB' member PKISERVD. (PKISERVD is an alias for IKYSPROC.)

PKISERVD contains the TZ (time zone) environment variable, which is the environment variable most likely to change. You need to specify any other environment variables that PKI Services needs in an environment variables file, by default pkiserv.envars. PKISERVD contains FN (file name) and DIR (directory) parameters to specify the path name of the environment variables file. You can make any needed changes in PKISERVD, such as updating this path name.

Guideline: By default, the path name for the pkiserv.envars environment variables file is /usr/lpp/pkiserv/samples/pkiserv.envars. If you need to make changes in the environment variables file, you need to copy it from the samples directory to another directory. Specify your environment variables using an environment variables file under the /etc directory, for example /etc/pkiserv/pkiserv.envars.

The following listing might not be identical to the code sample shipped with the product. For the most current sample, see SYS1.PROCLIB member PKISERVD.

//*********************************************************************
//*                                                                   *
//*              Licensed Materials - Property of IBM                 *
//*              5694-A01                                             *
//*              (C) Copyright IBM Corp.  2001                        *
//*              Status=HKY7706                                       *
//*                                                                   *
//*********************************************************************
//*********************************************************************
//*                                                                   *
//* Procedure for starting the PKI Services Daemon                    *
//*                                                                   *
//*********************************************************************
//PKISERVD PROC REGSIZE=256M,                                          X
//             OUTCLASS='A',                                           X
//             TZ='EST5EDT',                                           X
//             FN='pkiserv.envars',                                    X
//             DIR='/usr/lpp/pkiserv/samples',                         X
//             STDO='1>DD:STDOUT',                                     X
//             STDE='2>DD:STDERR'
//*--------------------------------------------------------------------
//GO       EXEC  PGM=IKYPKID,REGION=&REGSIZE,TIME=1440,
//  PARM=('ENVAR("_CEE_ENVFILE=&DIR/&FN","TZ=&TZ") / &STDO &STDE')
//STDOUT   DD  SYSOUT=&OUTCLASS
//STDERR   DD  SYSOUT=&OUTCLASS
//SYSOUT   DD  SYSOUT=&OUTCLASS
//CEEDUMP  DD  SYSOUT=&OUTCLASS