Message file for named users only (LOGINMSG)

Use of the LOGINMSG file is optional. If no LOGINMSG file is specified, no message is displayed after login completion. If a LOGINMSG file is specified, up to 100 lines of the file are displayed to the FTP client after login completion. The message is shown only to named FTP users.

Example:
A LOGINMSG file is specified that contains the message:
HELLO NAMED USER; THIS IS MY LOGIN MESSAGE!

When the named user logs in, the following is displayed to the client:

D:\>ftp 9.42.103.112
Connected to 9.42.103.112.
220-FTPD1 IBM FTP CS V1R4 at MVS171.tcp.raleigh.ibm.com, 15:17:11 on 2002-10-29.

220 Connection will not timeout.
User (9.42.103.112:(none)): user1
331 Send password please.
Password:
230-HELLO NAMED USER; THIS IS MY LOGIN MESSAGE!
230 USER1 is logged on.  Working directory is "/u/user1".
ftp>

To show a message to named users at login completion, enter the name of the MVS data set or zFS file containing the message.

If it is an zFS file, it must adhere to the following syntax rules:

If it is an MVS data set, it must adhere to the following syntax rules:

The LOGINMSG file may be used in conjunction with the BANNER file. The BANNER message is shown when a new connection is started, while the LOGINMSG message is shown after login completion.

Example:
A BANNER file is specified that contains the message:
HELLO WORLD; THIS IS MY BANNER MESSAGE!

A LOGINMSG file is specified that contains the message:
HELLO NAMED USER; THIS IS MY LOGIN MESSAGE!

When the client connects and logs in, the following is displayed to the client:

D:\>ftp 9.42.103.112
Connected to 9.42.103.112.
220-FTPD1 IBM FTP CS V1R4 at MVS171.tcp.raleigh.ibm.com, 14:43:04 on 2002-10-29.

220-HELLO WORLD; THIS IS MY BANNER MESSAGE!
220 Connection will not timeout.
User (9.42.103.112:(none)): user1
331 Send password please.
Password:
230-HELLO NAMED USER; THIS IS MY LOGIN MESSAGE!
230 USER1 is logged on.  Working directory is "/u/user1".
ftp>