Page 1 of 1

FTP JCL

PostPosted: Wed Dec 14, 2016 12:17 pm
by SKANDA
hi all,
can any one help me to write a JCL to ftp a file from mainframe to Windows pc.
Thing here is ,the file which I want to send from Mainframe is an delimited file.

If possible please provide some sample JCL code.

thanks all.

Re: FTP JCL

PostPosted: Wed Dec 14, 2016 3:22 pm
by BillyBoyo
ibm ftp sample jcl

Stick those in a search-engine.

Re: FTP JCL

PostPosted: Wed Dec 14, 2016 5:06 pm
by steve-myers
BEFORE you can use FTP on a mainframe to initiate sending data to a PC, a program called an FTP server must be running on the PC. There is no such thing provided in essentially all Windows client systems. While it is not too terribly difficult to prepare such a program on a client PC other things must be done on the PC and possibly elsewhere before a mainframe FTP can contact the newly installed FTP server on the PC.

These tasks are better done by your support. Talk to your support FIRST.

Re: FTP JCL

PostPosted: Wed Dec 14, 2016 6:29 pm
by Robert Sample
Thing here is ,the file which I want to send from Mainframe is an delimited file.
FTP doesn't care about delimited files. FTP sends text or binary data -- a delimited file is a text file and that's all FTP needs to know. FTP works on the entire data set (mainframe) or file (PC) -- the contents are not relevant (unless you're wanting to use code pages other than the default).

Re: FTP JCL

PostPosted: Thu Dec 15, 2016 11:41 am
by SKANDA
Hi all,
Thank you all for your great response.
I will check with support team and let me update the process.

Thanks all,
Skanda

Re: FTP JCL

PostPosted: Fri Dec 16, 2016 4:40 am
by NicC
The JCL will probably not be much of a problem - presumably your site already has some that you can copy. The trick would be getting the correct control records to 'drive' the ftp process.
These are not JCL. Again, you can probably find some at your site that you can modify to your requirements. If your site does nt have any FTP process then you will have to speak to your networking group as they will have to approve and set up. They will alao define what your JCL and control records must be.