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

Specify port for FTP in sysin card?


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

New User


Joined: 07 Jan 2006
Posts: 10

PostPosted: Tue Sep 29, 2009 12:05 pm
Reply with quote

My goal is to ftp a file passively (via port 2121). The server is set up with a PGP key already. Could someone help me with my syntax? I tried : after port, and open xxxx.xxx.xxx.xx.. in the sysin card.

Here is the error message:

Code:

EZA1736I FTP                                                       
EZY2640I Using dd:SYSFTPD= for local site configuration parameters.
EZYFT46E Error in dd:SYSFTPD file: line 1 near column 1.           
EZY2642E Unknown keyword: TLS                                       
...
EZA1554I Connecting to:   xxx.xxx.xxx.xx port: 2121.                       
EZA2589E Connection to server interrupted or timed out. Initial connection 



Here is the JCL:

Code:

//STEP005  EXEC  PGM=FTP       
//SYSPRINT DD  SYSOUT=*       
//SYSOUT   DD  SYSOUT=*       
//SYSFTPD  DD  *               
TLS                           
/*                             
//OUTPUT   DD  SYSOUT=*,DCB=(LRECL=160)   
//*
//INPUT    DD  *               
xxx.xxx.xxx.xxx 2121           
user1
password1                       
ascii                         
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Sep 29, 2009 4:51 pm
Reply with quote

Your first problem is that, as the EZY2642E message indicates, there is no configuration command TLS. On z/OS 1.10 you can use TLSMECHANISM, TLSPORT, TLSRECLEVEL, and TLSTIMEOUT -- but not TLS.

Your second problem is the EZA2589E message, which indicates either there's no path to the server or the server is not listening on port 2121. There's nothing wrong with your syntax -- but you need to work with your site support group to determine which parameters you need for your FTP; we cannot provide you many answers since we don't know your site.
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 JCL sort card - get first day and las... JCL & VSAM 9
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Need suggestion on a sort card DFSORT/ICETOOL 10
No new posts Want to mask Middle 8 Digits of Debit... COBOL Programming 3
No new posts JCL sort card for file creation condi... DFSORT/ICETOOL 4
Search our Forums:

Back to Top