There is an error message during the FTP Transfer of the IBM System iAudit audit log.
Symptoms During the FTP Transfer of the audit log from the AS/400 that IBM System iAudit is on, the error "501 'STOU
' : Invalid number of parameters" displays.
The Collector Guide tells you to use the SUNIQUE command to make sure the log transfered to the collector computer has a unique name. Microsoft IIS does not properly handle the SUNIQUE command from the AS/400 computer.
There are two solutions. You must choose which works in your environment best.
First Solution The first solution is to find an FTP product that properly handles the SUNIQUE command. This solution is the easiest to Automate since the SUNIQUE command can then ensure unique filenames.
Second Solution The second solution is to not use the SUNIQUE command and specify the new filename in the PUT command. This solution is more difficult to automate because the script will always use the same new name, unless you manually edit the script.
Here is an Example:
STRTCPFTP RMTSYS('ftp_server, IP_address, or host_name here') When prompted, enter your login credentials. ASCII NAMEFMT 1 PUT /home/auditlog auditlog.new QUIT
Imported Document ID: TECH93539
Subscribing will provide email updates when this Article is updated. Login is required.