IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

FTP: Active to Passive mode


 
IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Tue Apr 16, 2013 1:52 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Apr 16, 2013 4:00 am
Reply with quote

Adding the FTP command "passive" after the logon.
Back to top
View user's profile Send private message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Tue Apr 16, 2013 7:16 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8566
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 16, 2013 8:03 pm
Reply with quote

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
View user's profile Send private message
Mary Lewis

New User


Joined: 25 Dec 2007
Posts: 15
Location: Albany, NY

PostPosted: Wed Oct 09, 2013 7:48 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Oct 09, 2013 8:09 pm
Reply with quote

Did you enter HELP or HELP PASSIVE to see if that command is supported on that server?
Back to top
View user's profile Send private message
Mary Lewis

New User


Joined: 25 Dec 2007
Posts: 15
Location: Albany, NY

PostPosted: Wed Oct 09, 2013 9:15 pm
Reply with quote

Passive is not a supported command. Can the passive mode be turned on at the Server level, through configuratioin parameters?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8566
Location: Dubuque, Iowa, USA

PostPosted: Wed Oct 09, 2013 11:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts List of Active Jobs in CTRL-M JCL & VSAM 1
No new posts FIELDS OVERLAPPING WITH MODE = IN OR ... CICS 3
No new posts Issue while reading a file in browse ... TSO/ISPF 7
No new posts The oldest active mainframe developer? General Talk & Fun Stuff 5
No new posts Find a string in PS file opened in br... CLIST & REXX 3

Back to Top