IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem in FTP from Mainframe to PC


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Siva S

New User


Joined: 26 Mar 2008
Posts: 35
Location: Chennai

PostPosted: Wed May 13, 2009 3:12 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 13, 2009 3:30 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed May 13, 2009 3:34 am
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed May 13, 2009 5:24 pm
Reply with quote

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
View user's profile Send private message
Siva S

New User


Joined: 26 Mar 2008
Posts: 35
Location: Chennai

PostPosted: Thu May 14, 2009 12:26 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
Search our Forums:

Back to Top