Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Problem in FTP from Mainframe to PC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Problem in FTP from Mainframe to PC
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

Site Director


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

PostPosted: Wed May 13, 2009 3:30 am    Post subject:
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:
http://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: 7992
Location: Bellevue, IA

PostPosted: Wed May 13, 2009 3:34 am    Post subject:
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: 1703
Location: Australia

PostPosted: Wed May 13, 2009 5:24 pm    Post subject:
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    Post subject: Reply to: Problem in FTP from Mainframe to PC
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 2 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us