Command reference / comm

WRKNAMSMTP

Work with Names for SMTP

The Work with Names for SMTP (WRKNAMSMTP) command adds, maintains, and removes names for a Simple Mail Transfer Protocol (SMTP) user or for the system. The purpose of these names is to associate a SNADS user ID and address pair to an SMTP mailing address.

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

Restrictions

Parameters

TBLTYPE Table type to work with

Specifies the SMTP alias table to work with.

Type
*CHAR
Required
No
Default
*SELECT
Length
10
Case
Uppercase

Allowed values: *SELECT, *SYSTEM, *PERSONAL

*SELECT
Shows the initial display allowing you to select either the system or personal alias tables.
*SYSTEM
Shows the display allowing you to work with the system alias table. Users who do not have the proper authority are restricted to print and display only. Proper authority means having either security administrator (*SECADM) or all object (*ALLOBJ) special authority.
*PERSONAL
For users with the proper authority, shows the initial display with the personal alias table selection selected. If you are in the system directory, your user ID and address are automatically filled in. If you are not in the system directory, your user ID and address fields are blank. If you do not have either *SECADM or *ALLOBJ special authority, you must have an entry in the system directory and are only authorized to work with your own personal alias table. This parameter automatically shows your personal alias table.

IBM command documentation

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