IBM AS/400 Changing A Service Program, Related CL commands, a Service Program Using CRTSRVPGM

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 117
Image 117

 

 

Creating

a Service Program Using CRTSRVPGM

 

 

 

Table

9. Parameters for CRTSRVPGM Command and their Default Values

 

 

 

 

Parameter

Group

Parameter(Default

Value)

 

 

Identification

SRVPGM( library name/s rvice 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)

 

 

 

ALWUPD(*YES)

 

 

 

ALWRINZ(*NO)

 

 

 

REPLACE(*YES)

 

 

 

AUT(*LIBCRTAUT)

 

 

TEXT(*ENTMODTXT)

 

 

 

TGTRLS(*CURRENT)

 

 

USRPRF(*USER)

 

 

 

 

See “Creating the Service Program” on page 97 for an example of using CRTSRVPGM command.

Changing A Service Program

You can update or change a service program in the same ways availa program object. In other words, you can:

¹ Update the service program (using UPDSRVPGM)

¹ Change the optimization level (using CHGSRVPGM)

¹ Remove observability (using CHGSRVPGM)

¹Reduce the size (using CPROBJ)

For more information on any of the above points, see “Changing a Module Program” on page 86.

Related CL commands

The following CL commands are also used with service programs:

¹ Change Service Program (CHGSRVPGM)

¹ Display Service Program (DSPSRVPGM)

¹ Delete Service Program (DLTSRVPGM)

¹ Update Service Program (UPDSRVPGM)

¹ Work with Service Program (WRKSRVPGM)

Chapter 8. Creating a Service Program93

Page 117
Image 117
IBM AS/400 manual Changing A Service Program, Related CL commands, a Service Program Using CRTSRVPGM