425 Failed to establish connection



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

425 Failed to establish connection

Postby mehi1353 » Mon Oct 16, 2017 6:59 pm

Hi all,

I want to send a sequential data set from Z/OS V1R12 to a FTP server on Linux.

My "FTP JCL" is here:

//GETVM EXEC PGM=FTP,
// PARM='-D 123.456.789.012 (EXIT'
//OUTPUT DD SYSOUT=T
//SYSPRINT DD SYSOUT=T
//INPUT DD *
SEGROUP
SEGROUP
CD TEST
LOCSITE CYL PRI=1 SEC=1 LRECL=1000 RECFM=FBA
ASCII
QUOTE PASV
PUT 'SE.SMF.NETSPDDL'
QUIT
 

But, JCL does not work and it returns error "425 Failed to establish connection".

What that means and how I can prevent the error?

The FTP server is up because I can put files on it via my windows pc.

Mehrdad

Edited by moderator:
- code tags
- lower case
- data sets not files
- periods (.) not exclamation marks (!)
mehi1353
 
Posts: 40
Joined: Sun Jan 11, 2009 4:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: 425 Failed to establish connection

Postby Robert Sample » Mon Oct 16, 2017 7:29 pm

BUT,JCL DOES NOT WORK AND IT RETURNS ERROR "425 Failed to establish connection" !!!

WHAT THAT MEANS AND HOW I CAN PREVENT THE ERROR?

THE FTP SERVER IS UP BECAUSE I CAN PUT FILES ON IT VIA MY WINDOWS PC!
The error message means that FTP could not connect to the remote server -- precisely as it says. You prevent the error by finding out what the issue is and resolving it. And merely because the FTP server is up does NOT mean your job will connect to it -- there is a difference between a server running and being able to connect to that server.

Possible reasons for this error include (but by no means are limited to):
Invalid JCL -- the IBM manual has PARM='ip address followed by other parameters'; putting '-D ip address' as you did may not be valid
Invalid IP address
Invalid user name
Invalid user password
etc
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: 425 Failed to establish connection

Postby Pedro » Mon Oct 16, 2017 9:34 pm

THE FTP SERVER IS UP BECAUSE I CAN PUT FILES ON IT VIA MY WINDOWS PC!


Rather than a batch job, I would try first to use the TSO FTP client in order to resolve connectivity issues. Only then, try to resolve the JCL issues.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: 425 Failed to establish connection

Postby steve-myers » Mon Oct 16, 2017 9:48 pm

This is not a JCL issue (except in the sense it is a PARM issue). It is an FTP issue. The contents of the PARM text is not JCL; it is an issue with the program that uses the parameter text.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: 425 Failed to establish connection

Postby vasanthz » Tue Oct 17, 2017 12:26 am

Lol why would you post the ip address, userid and password? That is funny AF :D
Ur in trouble, unless someone gets rid of the information soon.
User avatar
vasanthz
 
Posts: 27
Joined: Thu Aug 05, 2010 2:53 pm
Has thanked: 8 times
Been thanked: 0 time

Re: 425 Failed to establish connection

Postby Robert Sample » Tue Oct 17, 2017 12:50 am

172.16.0.0 - 172.31.255.255 is private, not public, so nothing was exposed. The user id and password, however, may be real.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post