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
 

 

Specify port for FTP in sysin card?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
drarem

New User


Joined: 07 Jan 2006
Posts: 7

PostPosted: Tue Sep 29, 2009 12:05 pm    Post subject: Specify port for FTP in sysin card?
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: 8003
Location: Bellevue, IA

PostPosted: Tue Sep 29, 2009 4:51 pm    Post subject:
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    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 Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm


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