aswin.s Beginner
Joined: 12 Jun 2007 Posts: 8 Topics: 4
|
Posted: Tue Sep 16, 2008 5:09 pm Post subject: FTP STEP failed but condition code was ZERO |
|
|
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 |
|