Work with Service Table Entry (WRKSRVTBLE)

The Work with Service Table Entry (WRKSRVTBLE) command is used to show a list of service table entries from which you can add, remove, display or print the entries. You can also select to print the list.

The service table is used to manage the mapping of network services to ports, to record the protocols the services use, and to record a maximum of four alias names for each service. The service table is shipped with some standard port assignments. Values for common functions supported by Transmission Control Protocol/Internet Protocol (TCP/IP) are available to the Internet community in the assigned numbers RFC (Request for Comments) document, a formal specification of proposals and standards for a portion of TCP/IP.

Restrictions:

Parameters

Keyword Description Choices Notes
SERVICE Service Character value, *ALL Optional, Positional 1
OUTPUT Output *, *PRINT Optional, Positional 2

Service (SERVICE)

Specifies the service name with which you want to work.

*ALL
All service table entries are shown or printed.
character-value
Specify the name of the service. All entries that match are shown or printed.

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed for interactive jobs or printed with the job's spooled output for non-interactive jobs.
*PRINT
The output is printed with the job's spooled output.

Examples

WRKSRVTBLE

This command displays the Work with Service Table Entries panel, showing a list of all the service table entries. You can select to add, remove, display, or print the service table entries from this list.

Error messages

None