CL Command Reference - CHGTFTPA

CL Command List > CHGTFTPA Reference

Description:

The Change TFTP Server Attributes (CHGTFTPA) command is used to change the Trivial File Transfer Protocol (TFTP) server attributes. The changes take effect the next time the TFTP server is started either by the Start TCP/IP (STRTCP) command or by the Start TCP/IP Server (STRTCPSVR) command.

Restrictions:

You must have *IOSYSCFG special authority to use this command.


Examples:

Example 1: Start the TFTP Server Automatically

CHGTFTPA AUTOSTART(*YES)

This command indicates that the next time the STRTCP command is issued to start up TCP/IP and to automatically start the TCP/IP applications, the TFTP server will be automatically started.



Example 2: Changing the Number of Initial Server Jobs

CHGTFTPA NBRSVR(5)

This command indicates that the next time the TFTP server is started, five TFTP server jobs will be started automatically.



Example 3: Changing the Number of Server Jobs

CHGTFTPA NBRSVR(4 7)

This command indicates that the next time the TFTP server is started, four TFTP server jobs will be started automatically, and the maximum will be seven.