Hello list!! We use a REXX to FTP files from the mainframe to another server by queuing the ftp commands and exiting the rexx, so, let's say we have the following REXX: /* REXX */ QUEUE 'FTP 127.0.0.1' QUEUE 'ANONYMOUS PASSWORD' QUEUE 'help' QUEUE 'quit' exit 0
This used to work just fine but it recently stopped working on some systems, the queued commands are not executed under the FTP program, but only after the FTP program ends, the FTP program actually stops and stays waiting for an input on the USER: EZA1450I IBM FTP CS V1R12 EZA1466I FTP: using xxxxxxxx EZA1554I Connecting to: 127.0.0.1 port: 21. 220-FTPD1 IBM FTP CS V1R12 at xxxxxxxx, 12:59:50 on 2014-01-29. 220 Connection will close if idle for more than 300 minutes. EZA1459I NAME (127.0.0.1:USERID): *The execution actually stops there, if I keep going, pressing enter twice then manually entering QUIT, this is what is spit out: EZA1701I >>> USER USERID 331 Send password please. EZA1789I PASSWORD: EZA1701I >>> PASS 530 PASS command failed EZA1460I Command: EZA1460I Command: QUIT EZA1701I >>> QUIT 221 Quit command received. Goodbye. LANGUAGE PROCESSING COMMANDS: ASM INVOKE ASSEMBLER PROMPTER AND ASSEMBLER F COMPILER. CALC INVOKE ITF:PL/1 PROCESSOR FOR DESK CALCULATOR MODE. COBOL INVOKE COBOL PROMPTER AND ANS COBOL COMPILER. FORT INVOKE FORTRAN PROMPTER AND FORTRAN IV G1 COMPILER. ... (--all the output of the TSO HELP command --) ... IKJ56803I FOR MORE INFORMATION ENTER HELP COMMANDNAME OR HELP HELP IKJ56500I COMMAND QUIT NOT FOUND *** On the systems where this works, this is what I get: EZA1450I IBM FTP CS V1R12 EZA1466I FTP: using xxxxxxxx EZA1554I Connecting to: 127.0.0.1 port: 21. 220-FTPD1 IBM FTP CS V1R12 at xxxxxxxx, 17:56:53 on 2014-01-29. 220 Connection will close if idle for more than 300 minutes. EZA1459I NAME (127.0.0.1: USERID): EZA1701I >>> USER ANONYMOUS 331 Send password please. EZA1701I >>> PASS 530 PASS command failed EZA1460I Command: EZA1576I User-FTP understands these commands: EZA1577I ! ? acct append ascii auth big5 ... (--all the output of the FTP HELP command --) ... EZA1577I structure sunique system tchinese tso type ucs2 EZA1577I user verbose EZA1578I Specify a command by any unambiguous prefix EZA1579I Specify a local data set by qualifier.qualifier... with optional EZA1580I member as (member). Enclose fully qualified names in quotes EZA1581I For information about a particular command, say 'HELP command' EZA1460I Command: EZA1701I >>> QUIT 221 Quit command received. Goodbye. The command works fine on BOTH systems under raw TSO and not ISPF, and yes, I am using a shared ISPF profile. Can this great list help me figure this one out? :) Thanks! Leo ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN