Command reference / comm

WRKSRVTBLE

Work with Service Table Entry

Shows a list of service table entries from which entries can be added, removed, displayed or printed, and prints the list with OUTPUT(*PRINT). The table maps network services to ports, records their protocols and up to four aliases.

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC. Positional parameters: 2.

Restrictions

Parameters

SERVICE Service

Specifies the service name with which to work; *ALL shows every entry.

Type
*CHAR
Required
No
Default
*ALL
Length
64
Case
Uppercase

Suggested / special values: *ALL

OUTPUT Output

Specifies whether the list is displayed or printed with the job's spooled output.

Type
*CHAR
Required
No
Default
*
Length
6
Case
Uppercase

Allowed values: *, *PRINT

Examples

WRKSRVTBLE

Displays the Work with Service Table Entries panel with all entries.

IBM command documentation

Generated from os/cl/catalog/WRKSRVTBLE.json and os/cl/help/WRKSRVTBLE.json.