Specifies the editor to invoke in response to the EDIT command or /EDIT command qualifier.
Requires SYSPRV privilege to set information for users other than yourself; requires SYSPRV or SYSNAM privilege to show information about users other than yourself.
SET EDITOR editor
SET NOEDITOR
SHOW EDITOR
Qualifiers Defaults /ALL /NOALL /LOG /NOLOG /SYSTEM_DEFAULT None /UIC="[g,m]" None /USER=username None
editor
Required parameter specifying the name of the editor to invoke. You may use any callable editor available on your system such as EDT or TPU.
In response to the EDIT command or /EDIT command qualifier, PMDF MAIL invokes an editor. By default, the EDT editor is invoked. However, you may select another callable editor such as TPU:
EMAIL> SET EDITOR TPU EMAIL> SHOW EDITOR Your editor is TPU. EMAIL>Use the SET NOEDITOR command to restore the default behavior.
/SYSTEM_DEFAULT
The setting is the system-wide default for users who have not themselves selected an editor with SET EDIT. When used with SET NOEDITOR, removes the system-wide default.
#1
EMAIL> SET EDITOR TPU EMAIL> SHOW EDITOR Your editor is TPU. EMAIL>
#2In this example, the TPU editor is selected.
EMAIL> SET EDITOR/UIC=[1123,*]/LOG TPU %EMAIL-S-MODRECORD, ASMITH record modified %EMAIL-S-MODRECORD, AWART record modified . . . %EMAIL-I-MODRECORDS, 234 record modified EMAIL> SHOW EDITOR/UIC="[1123,3]" Username Editor ASMITH EDT AWART EDT . . . EMAIL>
Here, the editor is set to TPU for the entire UIC group 1123.