Use the ACCESSERRORMSGS statement to allow FTP server to send detailed login failure replies to an FTP client.
.-ACCESSERRORMSGS FALSE------. >>-+-ACCESSERRORMSGS--+-------+-+------------------------------>< +-FALSE-+ '-TRUE--'
To send detailed login failure replies to an FTP client, use the following code:
ACCESSERRORMSGS TRUE
The text of detailed login failure replies can be traced using the ACC parameter of the DEBUG statement. You do not need to code ACCESSERRORMSGS TRUE to trace this information.