View previous topic :: View next topic
|
Author |
Message |
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi all,
I have a scenario as follows:
We have two servers named rh and wp . I have been asked to write a JCL to transfer the currently created GDG from rh to wp after i receive a mail ... I wrote the JCL but when i execute it , it is throwing an error saying as
Code: |
EZA1450I IBM FTP CS V1R7
EZA1772I FTP: EXIT has been set.
EZA1456I Connect to ?
EZA1736I RH
EZA1553E Invalid port number. Open fails.
|
So I dont see any error with my JCL ... To copy within the same server it's working fine ... I dont know what might be the error with that .. Can any one help me out in this?
Below is the JCL for your reference ...
Code: |
//C5723GD JOB (834,9234,7),'WP56-756',CLASS=I,NOTIFY=&SYSUID
//F5714001 EXEC PGM=FTP,PARM='(EXIT=08)'
//OUTPUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//INPUT DD *
RY
USERNAME
******
TYPE E
MODE B
SITE CYL PRI=100 SEC=25 UNIT=CTAPE
PUT 'MXT.MBY.C34ET.P000.MULTI.CXFILE(0)' +
'MXT.MBY.C34ET.P000.MULTI.CXFILE(+1)'
PUT 'MXT.MBY.C34ET.P000.MULTI.VTFILE(0) +
'MXT.MBY.C34ET.P000.MULTI.VTFILE(+1)
|
|
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Code: |
EZA1450I IBM FTP CS V1R7
EZA1772I FTP: EXIT has been set.
EZA1456I Connect to ?
EZA1736I RH
EZA1553E Invalid port number. Open fails. |
Connect to RH failing. Is your new FTP Server RH configured? |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi Dev,
It's configured and i am able to do FTP in RH & WP indivudually .. But to transfer between this both i am facing the problem !!! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Quote: |
Invalid port number |
Have you tried specifying the proper port number? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
You are doing FTP from RH to WP? Is this configured?
Also your JCL shows FTP to RY and your error message connect to RH. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Superk,
Quote: |
Have you tried specifying the proper port number?
|
Where should i need to specify ..
Devzee,
Code: |
You are doing FTP from RH to WP? Is this configured? |
Yes.
Quote: |
Also your JCL shows FTP to RY and your error message connect to RH. |
.
i am sorry it's RH only .. It's my mistake ... |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
How did you checked that the FTP configuration is setup ? |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi Dev,
No error with FTP configurations .. I am saying you that individual server FTP is running fine ... |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
No error with FTP configurations .. I am saying you that individual server FTP is running fine ... |
Individual FTP server is running doesnt mean that they are connected.
Have you verified the FTP connection? |
|
Back to top |
|
|
GlobalGyan
New User
Joined: 31 Jan 2006 Posts: 28
|
|
|
|
I am not sure if 'RH' will work, you can try putting the IP address instead of RH.
Port number will be 21 by default. If your server is configured on a different port number then you need specify the port number after IP.
qw FTP for more
-GG |
|
Back to top |
|
|
|