MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP STEP failed but condition code was ZERO

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
aswin.s
Beginner


Joined: 12 Jun 2007
Posts: 8
Topics: 4

PostPosted: Tue Sep 16, 2008 5:09 pm    Post subject: FTP STEP failed but condition code was ZERO Reply with quote

hi,

the following is the JCL i have executed.

//FTP EXEC PGM=FTP
//ABNLIGNR DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//INPUT DD DSN=A1xxx.xxxx.xxxxx.xxxx.SECURE,
// DISP=SHR
// DD DSN=B1.xxxx.xxxx.xxx.PARM,
// DISP=SHR
// DD DSN=C1.xxx.xxxx.xxxx
// DISP=SHR
//*********************************************************************
//ABEND040 EXEC PGM=WTOABEND,COND=(0,EQ,FTP),
// PARM='FTP FAILED: STEP = FTP'
//*********************************************************************
// [/size][/size]

The ftp step failed - spool output.

EZA1736I FTP
EZY2640I Using 'N1233.TCPIP.FTP.DATA' for local site configuration parameters.
EZA1450I IBM FTP CS V1R8
EZA1456I Connect to ?
EZA1736I 133.24.56.12
EZA1554I Connecting to: 133.24.56.12 port: 22.
220 Serv-U FTP Server v6.4 for WinSock ready...
EZA1701I >>> AUTH TLS
234 AUTH command OK. Initializing SSL connection.
EZA2897I Authentication negotiation failed
EZA1534I *** Control connection with 133.24.56.12 dies.
EZA1457I You must first issue the 'OPEN' command
EZA1460I Command:
EZA1618I Unknown command: 'cs900002a'
EZA1619I For a list of the available commands, say HELP
EZA1460I Command:
EZA1736I Fd0516!
EZA1618I Unknown command: 'fd0516!'
EZA1460I Command:

abend step coced next to ftp

//*********************************************************************
//ABEND040 EXEC PGM=WTOABEND,COND=(0,EQ,FTP),
// PARM='FTP FAILED: STEP = FTP'
//*********************************************************************
//

I just got a zero condition code even though the FTP has failed and job did not abend.

Can any one help me why was condition code zero even though the FTP was not successful. Is thr any way so that i can let the user know the FTP was not successful. I just want to abend the whole job if FTP is not successful.

Have any one had the same issue. Is this how FTP works in mainframes.
do we have to handle ftp failure in FTP internally.

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group