View previous topic :: View next topic
|
Author |
Message |
CICS fan
New User
Joined: 03 Apr 2008 Posts: 82 Location: United States
|
|
|
|
Hi,
We have JCL to FTP file to a server in active mode. They are cutting over to passive.
Our FTP PARM is:
Code: |
1.2.3.4
logon
password
ascii
put 'A.B.C.D(0)' a_b.txt
QUIT |
Whats the minimum modification required in there to switch over to passive mode?Any help is appreciated.
-Thank you. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Adding the FTP command "passive" after the logon. |
|
Back to top |
|
|
CICS fan
New User
Joined: 03 Apr 2008 Posts: 82 Location: United States
|
|
|
|
Hi Kevin - thanks for the suggestion, its actualy timing out. The other side says that the firewall will accept passive FTP Data ports between port yyyy and zzzzz. While our JCL gets timed out while trying to connect to port aa (we didnt mention it explicit). Anyway we can force it to use the port range or is there anything else we are missing?
-Shamik. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Check with your network people -- sometimes routers and switches are not set up to allow traffic in the way the mainframe programmer thinks. |
|
Back to top |
|
|
Mary Lewis
New User
Joined: 25 Dec 2007 Posts: 15 Location: Albany, NY
|
|
|
|
I tried typing in PASSIVE after logging in, and it said passive was an unknown command. What did I do wrong? HELP. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Did you enter HELP or HELP PASSIVE to see if that command is supported on that server? |
|
Back to top |
|
|
Mary Lewis
New User
Joined: 25 Dec 2007 Posts: 15 Location: Albany, NY
|
|
|
|
Passive is not a supported command. Can the passive mode be turned on at the Server level, through configuratioin parameters? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
For z/OS, there are the PASSIVEDATACONN, PASSIVEDATAPORTS, and DATATIMEOUT configuration parameters that may be set (they are described in the Configuration Reference manual in the Communications Server bookshelf). What type of server are you connecting to with your JCL? |
|
Back to top |
|
|
|