On Wednesday, 06/16/2010 at 01:34 EDT, Sergio Lima 
<sergiovm...@hotmail.com> wrote:

> If the FTP don't run well, We need get the Return Code, but when FTP 
fails the 
> Return Code also was 0

Use the EXIT option on the FTP command.  Any time there is an error, the 
FTP command will immediately end and give a non-zero return code.  You 
will probably want to use MAKEBUF / DROPBUF to ensure that you throw away 
anything in the stack that FTP did not consume.

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to