On Fri, 30 Oct 2009 17:43:51 -0500, Pat Miller wrote: > > >I'm trying to use the SUNIQUE subcommand of FTP to avoid overlaying >existing documents when I send report files to a directory on a Windows >server using a mainframe batch job. The server doesn't seem to like >anything I send it, usually telling me that I am sending an invalid >number of parameters. Here is the relevant portion of the JCL & command >syntax: >
(portions deleted here and also from the following) > >EZA1736I put //DD:IFILE GL700X.pdf > >EZA1701I >>> STOU GL700X.pdf > >501 'STOU GL700X.pdf': Invalid number of parameters <======= ERROR > >I've tried placing the output file in quotes, using only a single >qualifier, and defaulting to the input/local file name, without success. > >Anybody got any suggestions? > The IBM FTP client is expecting the remote FTP server to support an extension to the FTP standard (RFC 959), and the server on your Windows server does not support the extension. The standard says the "STOU" command does not take a parameter. The client is sending a "STOU" command with a name as the parameter when "sunique On NAME" is in effect. Bill ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html