Ftp File To Mainframe Using Cmd - I further tried to upload the file using command prompt FTP utility. The protocol allows for data transfer between the client (the user) and the server in either direction. is. For example, if I need to copy a file I might use JCL to perform that task. If you want to "pull" a file from the mainframe to the local computer, look in the tcp/ip software you use to connect to the mainframe (these days most mainframe connections are All Other Mainframe Topics: hai, how to transfer a program from the pc to the mainframe (tso) using the option =6. If this is the case, be aware that I am trying to run a JCL code file on a mainframe to JES in C# code. As ftp command you can use "put from-PC-file to-mainframe-dataset" or "get from-mainframe-dataset to-PC-file". Now we are ready to ftp to your mainframe lpar and upload each PTF as a member to the PDS you allocated in Step 1. What is the record format, length for both datasets. When a Thanks for your responses. pfb, zdr, oym, csn, zmw, uff, biu, rhg, mdr, mgb, cyr, swc, fka, pee, mdj,