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

How to transfer a file from one mainframe server to another


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

New User


Joined: 21 Sep 2007
Posts: 6
Location: chennai

PostPosted: Mon Sep 24, 2007 6:41 pm
Reply with quote

Hi,

In my current project a new requirement came, where the i/p file will be present in the another mainframe server i need to pull tha dataset from there to my mainframe server in which we are working, without using any intermediate server.
Does anybody know how to do it.

It would be really helpful for me, if you come up with your suggestion as early as possible because my UAT dates are near.

Thanks,
Ankit
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: Mon Sep 24, 2007 8:26 pm
Reply with quote

Hello,

Are these 2 mainframes in the same data center?

If they have any shared dasd, the file could be written on shared dasd from one mainframe and read on the other.

If ftp is available, the data could be "pushed" or "pulled" from one to the other.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Sep 24, 2007 8:36 pm
Reply with quote

What's your corporate standard method and procedures for moving data?

There's usually a dedicated team to support this type of process.
Back to top
View user's profile Send private message
sam_duniya

New User


Joined: 21 Sep 2007
Posts: 6
Location: chennai

PostPosted: Mon Sep 24, 2007 11:01 pm
Reply with quote

Actually, in our corporate they are following the NDM process for that. But due to some authorization problem or may due to some errors, i am not able to do that, since i am not familiariza with the NDM, i ask the client to provide me with the server details so that i can ftp it, but again a problem came that, i don't have to use any intermmediate server, directly i need to ftp the file from one mainframe server to another mainframe server.


ya ftp is available, but how can i pulled the dataset dircetly.
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: Mon Sep 24, 2007 11:10 pm
Reply with quote

Hello,

If i understand correctly what you need to do, you can use ftp to transfer files from one mainframe to another. This would not use an intermediate server.

You can also ask your storage management people if there is any shared dasd that you could use to write the files on one mainframe and read them on the other. If you do this, no transfer software is needed.
Back to top
View user's profile Send private message
sam_duniya

New User


Joined: 21 Sep 2007
Posts: 6
Location: chennai

PostPosted: Tue Sep 25, 2007 4:20 pm
Reply with quote

I have asked them they are saying that there is no shared dasd that i can use. icon_sad.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Sep 25, 2007 4:54 pm
Reply with quote

the ways are :

shared dasd
ftp
ndm
dasd->tape-dasd

if the organization You work for is not able/willing to grant You the relevant authorities/permissions

I guess it is just time to review the agreements about the resources needed for Your project

regards

e.s
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: Tue Sep 25, 2007 8:28 pm
Reply with quote

Hello,

Quote:
ya ftp is available, but how can i pulled the dataset dircetly.
What is not directly if you use ftp? Seems rather direct to me. . .

Similar to what Enrico mentions, it may be time to tell them that if they want the data "over there", they need to provide the necessary support to get it there.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Tue Sep 25, 2007 11:31 pm
Reply with quote

Hi,

I have crossed your situation once ... I wrote the below JCL for the same ... Just check it if it can help you ...
Code:

//FIRR72GD JOB (85,910,5),'116',CLASS=I,NOTIFY=FIRR72         
//*ROUTE PRINT R62                                                     
//*ROUTE PRINT WP                                                     
//F5714001 EXEC PGM=FTP,PARM='(EXIT=08)'                               
//OUTPUT   DD SYSOUT=*                                                 
//SYSPRINT DD SYSOUT=*                                                 
//INPUT    DD *                                                       
  DYIBM                                                               
  FTP896                                                               
  password                                                               
  TYPE E                                                               
  MODE B                                                               
  SITE CYL PRI=100 SEC=25 UNIT=CTAPE                                   
  PUT 'MSD.MKT.C5049.P000.MULTI.CFFILE(0)' +                           
      'MSD.MKT.C5049.P000.MULTI.CFFILE(+1)'                           
  PUT 'MSD.MKT.C5049.P000.MULTI.VTFILE(0)' +     
      'MSD.MKT.C5049.P000.MULTI.VTFILE(+1)'     
  PUT 'MSD.MKT.C5049.P000.SINGLE.CFFILE(0)' +   
      'MSD.MKT.C5049.P000.SINGLE.CFFILE(+1)'     
  PUT 'MSD.MKT.C5049.P000.SINGLE.VTFILE(0)' +   
      'MSD.MKT.C5049.P000.SINGLE.VTFILE(0)'     
  QUIT                                           
//SYSPRINT  DD SYSOUT=*                         
//OUTPUT    DD SYSOUT=*                         
//                       
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Tue Sep 25, 2007 11:35 pm
Reply with quote

Hi,

In the above JCL i wrote in Server PYIBM where as i need to transfer the file from PYIBM to DYIBM... Let me know if any questions ...
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top