Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP: Active to Passive mode

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP: Active to Passive mode
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

Moderator Team Head


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

PostPosted: Tue Apr 16, 2013 4:00 am    Post subject: Reply to: FTP: Active to Passive mode
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Tue Apr 16, 2013 8:03 pm    Post subject:
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    Post subject: Reply to: FTP: Active to Passive mode
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

Moderator Team Head


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

PostPosted: Wed Oct 09, 2013 8:09 pm    Post subject: Reply to: FTP: Active to Passive mode
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    Post subject: Reply to: FTP: Active to Passive mode
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: 7913
Location: Bellevue, IA

PostPosted: Wed Oct 09, 2013 11:08 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts JCL to fetch schedule status from act... parasmalik20 CA Products 1 Thu Jun 02, 2016 7:11 pm
No new posts Calling macro via rexx in batch mode. SanaR CLIST & REXX 15 Tue Mar 08, 2016 4:46 pm
No new posts Edit not allowing in dataset after Po... krsenthil85 TSO/ISPF 8 Mon Jul 13, 2015 10:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us