ILE COBOL Programmer's Guide


Using the Create Service Program (CRTSRVPGM) Command

You create a service program using the Create Service Program (CRTSRVPGM) command. Any ILE module object can be bound into a service program. The module objects must exist before you can create a service program with it. You can create module objects from ILE COBOL source programs using the CRTCBLMOD command. Refer to Using the Create COBOL Module (CRTCBLMOD) Command for a description of how to create a module object using the CRTCBLMOD command.

Table 3 lists the CRTSRVPGM parameters and their defaults. For a full description of the CRTSRVPGM command and its parameters, refer to the CL and APIs section of the Programming category in the iSeries 400 Information Center at this Web site -http://publib.boulder.ibm.com/pubs/html/as400/infocenter.htm..

Table 3. Parameters for CRTSRVPGM Command and Their Default Values

Parameter Group Parameter(Default Value)
Identification SRVPGM(*CURLIB/service-program-name)
MODULE(*SRVPGM)
Program access EXPORT(*SRCFILE)
SRCFILE(*LIBL/QSRVSRC)
SRCMBR(*SRVPGM)
Binding BNDSRVPGM(*NONE)
BNDDIR(*NONE)
Run time ACTGRP(*CALLER)
Miscellaneous OPTION(*GEN *NODUPPROC *NODUPVAR *WARN *RSLVREF)
DETAIL(*NONE)
REPLACE(*YES)
AUT(*LIBCRTAUT)
ALWUPD(*YES)
ALWRINZ(*NO)
TEXT(*BLANK)
ALWLIBUPD(*NO)
USRPRF(*USER)
TGTRLS(*CURRENT)


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]