Need information about FTP in JCL

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
sivasaras
Member
Posts: 45
Joined: Tue Jun 15, 2010 3:07 pm

Need information about FTP in JCL

Post by sivasaras » Wed Oct 13, 2010 9:03 pm

Hi,

i want a simple FTP jcl to move the dataset into the common folder in the
desktop.

i have a ifg123.pds.siva.

usually i will do FTP through the receive files from host in the mainframe screen.

is there any other way to do this FTP.

please let me know.

regards,
siva

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Wed Oct 13, 2010 10:41 pm

Some other posts on the same topic:

http://www.mainframegurukul.com/ibmmain ... highlight=
http://www.mainframegurukul.com/ibmmain ... highlight=

For a reference, see 4.9 Submitting FTP requests in batch from the z/OS V1R11.0 Comm Svr: IP User's Guide and Commands manual.

Something to consider:

FTP (File Transfer Protocol) is a client-server application that uses the TCP/IP Network Protocol. As such, there must be both an active Client and an active Server. If you want to initiate an FTP session from your mainframe, then that is the Client. There must be an active FTP Server for it to connect to.

In order for this process to work, you need the following:

1. The proper access rights to execute the FTP program on the mainframe.
2. A static TCP/IP address or Domain Name to connect to.
3. The ability to properly negotiate any network connections and firewalls that may exist between the two systems.
4. An active FTP Server running on the desktop, with all appropriate access rights as needed.

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Oct 14, 2010 3:04 am

moved from COBOL forum to JCL forum
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Wed Oct 20, 2010 11:16 pm

siva, it sure would be nice to know, after all the typing and researching I did, if the information was what you were looking for.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Thu Oct 21, 2010 1:14 pm

MrSpock wrote:siva, it sure would be nice to know, after all the typing and researching I did, if the information was what you were looking for.
Don't you hate it, when they (the Original Posters) never come back!
Regards,
Anuj

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Wed Oct 27, 2010 7:05 pm

Anuj Dhawan wrote:Don't you hate it, when they (the Original Posters) never come back!
Yes, very much. It seems rather distrespectful to someone who's put forth some effort to help. Oh well, hopefully we can just post a link to this topic if a similar question comes around again.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others