> Or just go to tucows.com and download one of the many free FTP clients they
> have available as freeware there. For those wishing to set up an FTP server
> on a windows box, you can also download Cerberus, which works like a charm
> and is freeware also.
> Mickey
> ----- Original Message -----
> From: "Robert Zenuk" <Robze...@AOL.COM>
> To: <TSO-R...@VM.MARIST.EDU>
> Sent: Sunday, November 08, 2009 3:18 PM
> Subject: Re: [TSO-REXX] FTP in REXX
> >I sent this to the list. I prefer to share the responses with the whole
> > group. Besides you will get additional answers and input that way.
> > For a onesy-twosy just do a native manual FTP GET from the PC. No REXX
> > involved... Just your fingers... If you have an FTP Server on your PC,
> > you
> > can FTP PUT (using FTP and REXX) automatically from the MF and schedule
> > it.
> > If not, you must drive an FTP GET from the PC using something on the PC,
> > like Batch files or Perl or PC/REXX and AT or Cron or...
> > Rob
> > In a message dated 11/8/2009 12:17:34 A.M. US Mountain Standard Time,
> > srikanthphal...@gmail.com writes:
> > On Aug 8 2008, 12:29 am, Robze...@AOL.COM (Robert Zenuk) wrote:
> >> Hmmm... That looks familiar...
> > _http://www2.marist.edu:8000/htbin/wlvtype?TSO-REXX.18599_(http://www2...)
> >> Rob
> >> In a message dated 8/7/2008 9:34:00 A.M. US Mountain Standard Time,
> >> sivapratapreddy.gangire...@EDS.COM writes:
> >> Hi,
> >> I got the solution to my requirement and sharing the same here. Thanks
> >> for a lot for your help.
> >> /* rexx */
> >> hostname = 'your.ftp.server'
> >> input.1 = 'userid pw'
> >> input.2 = 'cd mydir'
> >> input.3 = 'DIR FILE.TXT'
> >> input.4 = 'QUIT'
> >> "ALLOC F(INPUT) UNIT(VIO) LRECL(80) SPACE(1) TRACKS RECFM(F B)"
> >> "EXECIO * DISKW INPUT (STEM INPUT. FINIS"
> >> "ALLOC F(OUTPUT) UNIT(VIO) LRECL(121) SPACE(1 10) CYLINDERS RECFM(V B)"
> >> "FTP" hostname "(EXIT"
> >> "EXECIO * DISKR OUTPUT (STEM OUTPUT. FINIS"
> >> do i=1 to output.0
> >> parse var output.i msgid dirline
> >> if msgid = 'EZA2284I' then
> >> say dirline
> >> end
> >> "FREE F(INPUT OUTPUT)"
> >> Thanks and Regards,
> >> Gangireddy Siva Pratap Reddy
> >> -----Original Message-----
> >> From: TSO REXX Discussion List [mailto:TSO-R...@VM.MARIST.EDU] On Behalf
> >> Of Cruz, Robert
> >> Sent: Thursday, August 07, 2008 9:58 PM
> >> To: TSO-R...@VM.MARIST.EDU
> >> Subject: Re: [TSO-REXX] FTP in REXX
> >> The original post indicated that the file to be checked for was on the
> >> server (meaning remote *nix or Windoze box), if I understood it
> >> correctly. On that basis, the check for the presence of this file
> >> would
> >> have to be done by FTP, rather than on MVS.
> >> -----Original Message-----
> >> From: TSO REXX Discussion List [mailto:TSO-R...@VM.MARIST.EDU] On
> >> Behalf
> >> Of McKown, John
> >> Sent: Thu 07 Aug 2008 09:23
> >> To: TSO-R...@VM.MARIST.EDU
> >> Subject: Re: [TSO-REXX] FTP in REXX
> >> > -----Original Message-----
> >> > From: TSO REXX Discussion List
> >> > [mailto:TSO-R...@VM.MARIST.EDU] On Behalf Of Jack Kelly
> >> > Sent: Thursday, August 07, 2008 11:18 AM
> >> > To: TSO-R...@VM.MARIST.EDU
> >> > Subject: Re: [TSO-REXX] FTP in REXX
> >> > <snip>
> >> > check the file availability on server using REXX.
> >> > <unsnip>
> >> > Couldn't you just check the DSN with "available =
> >> > SYSDSN('myrexx.exec')"
> >> > before before calling FTP or listdsi ?
> >> > Jack Kelly
> >> > 202-502-2390 (Office)
> >> He's probably doing a GET to retrieve the file from the remote end. So
> >> he needs to do a "cd" (maybe) and a "dir" and check the status that the
> >> file exists on the far end.
> >> --
> >> John McKown
> >> Senior Systems Programmer
> >> HealthMarkets
> >> Keeping the Promise of Affordable Coverage Administrative Services
> > Group
> >> Information Technology
> >> The information contained in this e-mail message may be privileged
> >> and/or confidential. It is for intended addressee(s) only. If you are
> >> not the intended recipient, you are hereby notified that any disclosure,
> >> reproduction, distribution or other use of this communication is
> >> strictly prohibited and could, in certain circumstances, be a criminal
> >> offense. If you have received this e-mail in error, please notify the
> >> sender by reply and delete this message without copying or disclosing
> >> it.
> >> ----------------------------------------------------------------------
> >> For TSO-REXX subscribe / signoff / archive access instructions, send
> >> email to LISTS...@VM.MARIST.EDU with the message: INFO TSO-REXX
> >> --------------------------------------------------------
> >> The information contained in this message is intended only for the
> >> recipient, and may be a confidential attorney-client communication or
> >> may otherwise be privileged and confidential and protected from
> >> disclosure. If the reader of this message is not the intended
> >> recipient,
> >> or an employee or agent responsible for delivering this message to the
> >> intended recipient, please be aware that any dissemination or copying
> >> of
> >> this communication is strictly prohibited. If you have received this
> >> communication in error, please immediately notify us by replying to the
> >> message and deleting it from your computer. The McGraw-Hill Companies,
> >> Inc. reserves the right, subject to applicable local law, to monitor
> > and
> >> review the content of any electronic message or information sent to or
> >> from McGraw-Hill employee e-mail addresses without informing the sender
> >> or recipient of the message.
> >> --------------------------------------------------------
> >> ----------------------------------------------------------------------
> >> For TSO-REXX subscribe / signoff / archive access instructions, send
> >> email to LISTS...@VM.MARIST.EDU with the message: INFO TSO-REXX
> >> ----------------------------------------------------------------------
> >> For TSO-REXX subscribe / signoff / archive access instructions,
> >> send email to LISTS...@VM.MARIST.EDU with the message: INFO TSO-REXX
> >> **************Looking for a car that's sporty, fun and fits in your
> > budget?
> >> Read reviews on AOL Autos.
> > (http://autos.aol.com/cars-BMW-128-2008/expert-review?ncid=aolaut00050...)
> >> ----------------------------------------------------------------------
> >> For TSO-REXX subscribe / signoff / archive access instructions,
> >> send email to LISTS...@VM.MARIST.EDU with the message: INFO TSO-REXX
> > Hi ,
> > Can anyone help me how do i setup this rexx to transfer file from my
> > mainframe to PC
> > E.g .. I have pdf dataset on mainframe
> > v034523.ntf5cbs.cbbfpdff.test.pdf
> > I need to transfer this file to my Pc in my desktop.. What changes do
> > i need to make to above rexx program to achieve that .. Please help
> > me .
> > Let say my mainframe ip : 123.234.250.250
> > User name password : vgoabacsrikanth
> > my pc ip : 104.96.27.102
> > Please help me out here..
> > Thanks in advance
> >Srikanth
> > ----------------------------------------------------------------------
> > For TSO-REXX subscribe / signoff / archive access instructions,
> > send email to LISTS...@VM.MARIST.EDU with the message: INFO TSO-REXX
> ----------------------------------------------------------------------
> For TSO-REXX subscribe / signoff / archive access instructions,
> send email to LISTS...@VM.MARIST.EDU with the message: INFO TSO-REXX
Thanks Rob , gil ,Mackey for ur quick response .. I already configure bat file to ftp and also FTP jcl.. I'm wondering
how it is possible from rexx .. I tried above rexx which Rob written
but i'm getting RC 14450 i don't know where i did wrong.. Therefore i
want how can i configure that rexx with info i posted earlier to
achieve what i FTP from Mainframe to PC through rexx..