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
 

 

How to transfer a file from one mainframe server to another

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to transfer a file from one mainframe server to another
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

Site Director


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

PostPosted: Mon Sep 24, 2007 8:26 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Mon Sep 24, 2007 8:36 pm    Post subject: Reply to: How to transfer a file from one mainframe server t
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    Post subject:
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

Site Director


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

PostPosted: Mon Sep 24, 2007 11:10 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Sep 25, 2007 4:54 pm    Post subject: Reply to: How to transfer a file from one mainframe server t
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

Site Director


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

PostPosted: Tue Sep 25, 2007 8:28 pm    Post subject:
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: 680
Location: NJ

PostPosted: Tue Sep 25, 2007 11:31 pm    Post subject: Reply to: How to transfer a file from one mainframe server t
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: 680
Location: NJ

PostPosted: Tue Sep 25, 2007 11:35 pm    Post subject:
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    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 Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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