IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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: 4652
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: 8696
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: 4652
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: 8696
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Determining Active VM Directory All Other Mainframe Topics 0
Search our Forums:

Back to Top