View previous topic :: View next topic
|
Author |
Message |
Siva S
New User
Joined: 26 Mar 2008 Posts: 35 Location: Chennai
|
|
|
|
Hi,
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.
We have a requirement like this, Kindly help.
Thanks in advance. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you transfer from mainframe to maniframe and leave the pc out of the loop. . .
The same subject is in this topic:
ibmmainframes.com/viewtopic.php?t=39438
There was considerable discussion, but no technical resolution.
Quote: |
We have a requirement like this, Kindly help. |
Why is there a requirement that the pc be involved. I could understand a requirement to transfer load modules to another system, but not using the pc. . . |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 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. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
personally if I have to do it, I like to use the TRANSMIT and RECEIVE commands,
Unloading it to a sequential 80 byte PS file and transferring it to a PC and back to the mainframe I find it quite a simple task.
Then i use the RECEIVE command and voila, the PDS is back with it's original attributes.
Gerry |
|
Back to top |
|
|
Siva S
New User
Joined: 26 Mar 2008 Posts: 35 Location: Chennai
|
|
|
|
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.
Thanks for all of you... |
|
Back to top |
|
|
|