Dave:

We move files to our Windows servers and AIX servers all the time.  Here
is a snip of JCL and ftp commands that I have used.  We use the (EXIT
parm on all our JCL to ensure that rc come back to the JCL ftp client.

Hope this helps. 

//*- 20070718 test getting a file from the reporting server LSCHW
//*--------------------------------------------------------------
//*- Step FTPSTEP:                                               
//*-  get a file from the reporting server                       
//*--------------------------------------------------------------
//FTPSTEP EXEC PGM=FTP,REGION=4M,

//  PARM='(EXIT TIMEOUT 100'                
//*NETRC      DD DSN=SYS1S.TCPIP.NETRC,DISP=SHR                   
//SYSPRINT   DD SYSOUT=*                                         
//OUTPUT     DD SYSOUT=*                                         
//INPUT  DD  *
192.168.1.105
userid password - this is the userid and password of the windows box.

cd Transfers/Journal_imp                                         
dir                                                              
lcd 'mfuser'                                                    
pwd                                                              
lpwd                                                             
bin                                                              
get journal_in_20070718.fred journal.D070718.leon                
quit                                                             
/*                                                               
//                                                               

Leon Schwering
Technical Architect
407 ETR Concession Co. Ltd.
905-265-4070 x5422
647-273-7772 (mobile)
[EMAIL PROTECTED] 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of David Day
Sent: March 18, 2008 2:09 PM
To: [email protected]
Subject: MVS initiated FTP to Windows

    I would like to be able to kick off an FTP of a dataset to a Windows
platform from MVS.  All of the info I can come up with talks about how
to perform this from the Windows side.  Windows initiated receive.  I
want to do this from the MVS side.  When the file(s) are ready, send
them down to the PC.  Not when the file(s) are ready, go over to the PC,
and run FTP from there to receive the file(s).   Is this possible?  Is
there anything like an FTP daemon that can run on Windows to receive the
data and put it in the desired location?

    --Dave Day 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to