I am FTPing the LOAD MODULES from mainframe to PC in Binary mode, it is transferring fine. And I am transferring the same from PC to mainframe, data transfer is still fine. But if i try to execute the transferred load module, it is not executing.
Joined: 06 Jun 2008 Posts: 8212 Location: Dubuque, Iowa, USA
Load modules cannot be transferred to a PC and back to a mainframe without consequences -- such as they do not work anymore. What you are attempting to do, if it can be done, is difficult at best. You could unload the module using IEBCOPY to a flat file, transfer the flat file, and then reconstruct it. Then you just have to worry about maintaining a VS (variable spanned) record format on a PC which is not designed to know anything about records, much less VS records.
Your best bet: transfer the source, compile, and run. Your next best bet: FTP mainframe to mainframe so the load module characteristics can be preserved. Get the PC out of the picture, or your odds of success go way, way down.
Hi gcicchet, I have tried with the TRANSMIT & RECEIVE commands to FTP the load modules from/to mainframe. It is working fine. Additionally,
I used the following command while Doing FTP transmitted file from PC to Mainframe
QUOTE SITE LRECL=80 BLKSIZE=3120 RECFM=FB
As we know, the FTP should be done in Binary mode.