Edtudf notes – Nlynx ETU400 User Manual

Page 136

Advertising
background image

ETU400 User Guide 011603

10-6

EDTUDF Command

The EDTUDF command allows you to add user-defined options to the ETU Main

menu (WSMENUS). Any valid AS/400 command can be added to the menu using

this function. Additionally, ETU utilities, such as EDTUDF, can be added

to the ETU menu.

To add a user-defined option, enter the command EDTUDF on the AS/400

command line and press F4. You will first be prompted to enter a user

profile. You can add user-defined functions for a single user or a group

of users. To add a user-defined function for a single user, enter the

user's profile name. To add a user-defined function for a group of users,

enter the group profile name. To add user-defined functions for yourself,

type ETDUDF on the command line and press Enter.

When the Edit User-defined Functions screen displays, supply a

description, function, and mode. After you have completed adding the

user-defined option, press F3 to return to the main menu.

NOTE:

In order for the new menu option to display on the ETU Main

menu you must exit the ETU menu (press F3) and redisplay the ETU menu by

issuing the WSMENUS command. The Edit User-defined Functions parameters
are described below.

Description The description of the user-defined function as it will

appear on the ETU Main menu. It may be up to 32 character

long.

Function

The AS/400 command that will be run when the menu option is
issued. It may be up to 512 characters long.

Mode

Specifies how the command will be executed when selected from
the ETU Main menu. Valid entries are:

*PMT The user is prompted after choosing the option.

*EXE The user-defined option executes immediately after the
user chooses the option.

When you specify *EXE for the mode, you are prompted to enter

values for the command you specified in the Function

parameter. Each time you choose the menu option, the command

executes using the same values for the parameters as

specified when the user-defined function was created.

Advertising