Re: MVS initiated FTP to Windows
We have just implemented a solution for such a transfer. We are required to secure all data transfers internal or external. For z/OS to Unix to Linux we use FTP over System SSL on the z/OS side, lftp and proftp on Unix / Linux respectively. For Windows, our shop did not change to use a server that understands SSL/TLS, they use SSHTectia as an ftp server. For z/OS to Windows, the z/OS side uses OpenSSH/sftp from IBM's Ported Tools. The downside to this is the requirement to copy files in/out of USS as sftp doesn't understand MVS dataset formats. It's extra JCL and disk. There are other tools such as Dovetail's dspipes to help with this copying but we are not using them. The sftp requires pub/private key exchange with the id's performing the transfer. ssh-keygen is supported both on the Windows and z/OS-USS platforms. -- 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
Re: MVS initiated FTP to Windows
David Day, You have received several good answers including advice about IIS and FTP Server. Some other missing points: Use another user on WinXP for FTP purposes only and allow ONLY that user on that 'incoming' folder. Remove 'Everyone' from list of users who may 'share' that folder. If you are using standard port numbers, you should check your A/V software that ports used for FTP are not blocked. Remember to setup your WinXP firewall to include the FTP Server and that your network adaptor are also enabled to use FTP Server. One last gotcha remains: Check that your network adaptor are enabled to awake your PC to start transferring data. HTH Groete / Greetings Elardus Engelbrecht -- 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
Re: MVS initiated FTP to Windows
You could consider running an FTP server on Windows on a PC in your network that has a static IP address, and initiate an FTP session to it from z/OS to transfer the files. We've used the free FileZilla FTP server to do this: http://filezilla-project.org/ ..Rich - Original Message - From: David Day [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Tuesday, March 18, 2008 2:08 PM 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
Re: MVS initiated FTP to Windows
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: IBM-MAIN@bama.ua.edu 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
Re: MVS initiated FTP to Windows
A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in order for MVS to initiate the FTP down to the WS. Most have said it needs to be a static IP address. At this site, we use static IP addresses. However, while I no longer have the VBS/WSF (a VB script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to process the VBS/WSF file which would parse a txt file that was the output of IPCONFIG /ALL IPINFO.TXT. The data in the file contained the current WS IP address. Once the file was parsed (I got the data I needed), I knew the IP address and would save it to a one-line TXT file which was then FTP'ed to the MVS host and stored in a flat file which was read, actually copied, into the âhost sideâ FTP SYSIN file. Now, I had what I needed to know to initiate the FTP down to the workstation. Using the Scheduled Tasks utility in XP, the BAT/CMD file would be kicked off at system started up (boot) and daily, about 10-15 minutes before the first MVS job of the day that produced the data I needed on the WS. While there may have been a better solution, or one more robust/reliable, it was not as ugly as it seems and the end result was it worked! In the time I was there using this process, there was only one occasion when the lease of a workstation expired between the time the IP address was FTPâed to the host and the time the host needed the IP address to send the data down. I had intentions of rewriting the script file, but you know how that is⦠On Wed Mar 19 9:34 , Rich Juchniewicz [EMAIL PROTECTED] sent: You could consider running an FTP server on Windows on a PC in your network that has a static IP address, and initiate an FTP session to it from z/OS to transfer the files. We've used the free FileZilla FTP server to do this: http://filezilla-project.org/ ..Rich - Original Message - From: David Day [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Tuesday, March 18, 2008 2:08 PM 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 -- 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
Re: MVS initiated FTP to Windows
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Gary Green Sent: Wednesday, March 19, 2008 10:00 AM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in order for MVS to initiate the FTP down to the WS. Most have said it needs to be a static IP address. At this site, we use static IP addresses. However, while I no longer have the VBS/WSF (a VB script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to process the VBS/WSF file which would parse a txt file that was the output of IPCONFIG /ALL IPINFO.TXT. The data in the file contained the current WS IP address. Once the file was parsed (I got the data I needed), I knew the IP address and would save it to a one-line TXT file which was then FTP'ed to the MVS host and stored in a flat file which was read, actually copied, into the host side FTP SYSIN file. Now, I had what I needed to know to initiate the FTP down to the workstation. Using the Scheduled Tasks utility in XP, the BAT/CMD file would be kicked off at system started up (boot) and daily, about 10-15 minutes before the first MVS job of the day that produced the data I needed on the WS. While there may have been a better solution, or one more robust/reliable, it was not as ugly as it seems and the end result was it worked! In the time I was there using this process, there was only one occasion when the lease of a workstation expired between the time the IP address was FTP'ed to the host and the time the host needed the IP address to send the data down. I had intentions of rewriting the script file, but you know how that is! Good idea! I think that I'll do something similar for my Linux workstation, which does not register itself in the Windows arena. -- 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 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
Re: MVS initiated FTP to Windows
This seems like a whole lot of work to go through to get around a problem that shouldn't exist in the first place. If the DHCP/DNS is setup correctly, every PC should have a valid DNS name that resolves the IP address correctly. I don't remember any site I've worked at recently (5 years) where I couldn't use a DNS name to address a desktop machine. Gary Green [EMAIL PROTECTED] 3/19/2008 10:59 AM A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in order for MVS to initiate the FTP down to the WS. Most have said it needs to be a static IP address. At this site, we use static IP addresses. However, while I no longer have the VBS/WSF (a VB script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to process the VBS/WSF file which would parse a txt file that was the output of IPCONFIG /ALL IPINFO.TXT. The data in the file contained the current WS IP address. Once the file was parsed (I got the data I needed), I knew the IP address and would save it to a one-line TXT file which was then FTP'ed to the MVS host and stored in a flat file which was read, actually copied, into the “host side†FTP SYSIN file. Now, I had what I needed to know to initiate the FTP down to the workstation. Using the Scheduled Tasks utility in XP, the BAT/CMD file would be kicked off at system started up (boot) and daily, about 10-15 minutes before the first MVS job of the day that produced the data I needed on the WS. While there may have been a better solution, or one more robust/reliable, it was not as ugly as it seems and the end result was it worked! In the time I was there using this process, there was only one occasion when the lease of a workstation expired between the time the IP address was FTP’ed to the host and the time the host needed the IP address to send the data down. I had intentions of rewriting the script file, but you know how that isâ€| Note that my email domain has changed from jo-annstores.com to joann.com. Please update your address book and other records to reflect this change. CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains confidential and privileged information intended only for the addressee. If you are not the intended recipient, please be advised that you have received this material in error and that any forwarding, copying, printing, distribution, use or disclosure of the material is strictly prohibited. If you have received this material in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the material. Emails are not secure and can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email. Thank you. -- 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
Re: MVS initiated FTP to Windows
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Scott Rowe Sent: Wednesday, March 19, 2008 11:05 AM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows This seems like a whole lot of work to go through to get around a problem that shouldn't exist in the first place. If the DHCP/DNS is setup correctly, every PC should have a valid DNS name that resolves the IP address correctly. I don't remember any site I've worked at recently (5 years) where I couldn't use a DNS name to address a desktop machine. I have the problem with my Linux desktop. It is not part of the Windows domain and so does/can not register itself with DDNS. I know it is possible, but politics on the part of the Windows support staff deny me the option. -- 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 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
Re: MVS initiated FTP to Windows
McKown, John wrote: I have the problem with my Linux desktop. It is not part of the Windows domain and so does/can not register itself with DDNS. I know it is possible, but politics on the part of the Windows support staff deny me the option. It might not just be politics. There are fairly-recently-adopted open standards for DDNS. My understanding is that Micro$oft does not follow them strictly. In fairness, they came up with their solution in advance of the standards being finalized. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: MVS initiated FTP to Windows
--snip--- A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in order for MVS to initiate the FTP down to the WS. Most have said it needs to be a static IP address. At this site, we use static IP addresses. However, while I no longer have the VBS/WSF (a VB script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to process the VBS/WSF file which would parse a txt file that was the output of IPCONFIG /ALL IPINFO.TXT. The data in the file contained the current WS IP address. Once the file was parsed (I got the data I needed), I knew the IP address and would save it to a one-line TXT file which was then FTP'ed to the MVS host and stored in a flat file which was read, actually copied, into the 'host side' FTP SYSIN file. Now, I had what I needed to know to initiate the FTP down to the workstation. Using the Scheduled Tasks utility in XP, the BAT/CMD file would be kicked off at system started up (boot) and daily, about 10-15 minutes before the first MVS job of the day that produced the data I needed on the WS. While there may have been a better solution, or one more robust/reliable, it was not as ugly as it seems and the end result was it worked! In the time I was there using this process, there was only one occasion when the lease of a workstation expired between the time the IP address was FTPed to the host and the time the host needed the IP address to send the data down. I had intentions of rewriting the script file, but you know how that is. -unsnip- This is all very interesting but it doesn't address the issue of security very well. I'm stuck with a direct COMCAST connection to my LAN that I can't disable without disabling my telephones as well. So how to I assure that some hacker from outside doesn't ghost a virus or some form of spyware onto my PC? Running WinXP Pro. -- 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
Re: MVS initiated FTP to Windows
That would be one of my major concerns, security. But then being a mainframe oriented person and long time DP/IT/MIS person, I've always been concerned about security. Daniel McLaughlin Z-Series Systems Programmer Information Communications Technology Crawford Company 4680 N. Royal Atlanta Tucker GA 30084 phone: 770-621-3256 fax: 770-621-3237 email: [EMAIL PROTECTED] web: www.crawfordandcompany.com Best Overall Third-Party Claims Administrator - 2007 Business Insurance Readers Choice Awards Consider the environment before printing this message. This transmission is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is confidential, proprietary, privileged or otherwise exempt from disclosure. If you are not the named addressee, you are NOT authorized to read, print, retain, copy or disseminate this communication, its attachments or any part of them. If you have received this communication in error, please notify the sender immediately and delete this communication from all computers. This communication does not form any contractual obligation on behalf of the sender, the sender's employer, or the employer's parent company, affiliates or subsidiaries. -- 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
Re: MVS initiated FTP to Windows
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Rick Fochtman Sent: Wednesday, March 19, 2008 11:57 AM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows [snip] -unsnip- This is all very interesting but it doesn't address the issue of security very well. I'm stuck with a direct COMCAST connection to my LAN that I can't disable without disabling my telephones as well. So how to I assure that some hacker from outside doesn't ghost a virus or some form of spyware onto my PC? Running WinXP Pro. You don't have a firewall? I have a Netgear box which connects to my DSL line. My PCs all connect to a switch which also connects to the Netgear firewall. I don't run Windows. I run Linux. But the concepts that I use should be the same. I only allow access to my LAN from a specific set of incoming IP addresses. Of course, I don't allow ftp at all. I use SSH. I think that there is an SSH server available for Windows, but I don't really know. Friends don't let friends drive Windows! [grin] -- 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 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
Re: MVS initiated FTP to Windows
--snip-- -unsnip- This is all very interesting but it doesn't address the issue of security very well. I'm stuck with a direct COMCAST connection to my LAN that I can't disable without disabling my telephones as well. So how to I assure that some hacker from outside doesn't ghost a virus or some form of spyware onto my PC? Running WinXP Pro. You don't have a firewall? I have a Netgear box which connects to my DSL line. My PCs all connect to a switch which also connects to the Netgear firewall. I don't run Windows. I run Linux. But the concepts that I use should be the same. I only allow access to my LAN from a specific set of incoming IP addresses. Of course, I don't allow ftp at all. I use SSH. I think that there is an SSH server available for Windows, but I don't really know. Friends don't let friends drive Windows! [grin] --unsnip--- I'd appreciate it immensely if we could conduct a private dialog about the capabilities of your Netgear box. I'm a babe in the woods in these matters. My Linux experience consists of a few days of experimenting with Red-Hat 6.0. -- 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
Re: MVS initiated FTP to Windows
On Wed, 19 Mar 2008 09:42:34 -0700, Edward Jaffe wrote: McKown, John wrote: I have the problem with my Linux desktop. It is not part of the Windows domain and so does/can not register itself with DDNS. I know it is possible, but politics on the part of the Windows support staff deny me the option. It might not just be politics. There are fairly-recently-adopted open standards for DDNS. My understanding is that Micro$oft does not follow them strictly. In fairness, they came up with their solution in advance of the standards being finalized. I recall a problem I used to have, perhaps using dialup/PPP. Something wasn't timing out sufficiently fast, and/or not all PPP clients were playing by the same rules; perhaps mine wasn't identifying itself properly. When I connected and logged in, who am i would display the host name of a client that has previously connected to the same port, and then name lookup would return the IP address of a port to which that same client had more recently connected (My kiang's conjecture at an explanation of the phenomenon I observed). -- gil -- 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
Re: MVS initiated FTP to Windows
On Wed, Mar 19, 2008 at 12:06 PM, McKown, John [EMAIL PROTECTED] wrote: Of course, I don't allow ftp at all. I use SSH. I think that there is an SSH server available for Windows, but I don't really know. FTP is popular, but a nasty protocol to secure properly, especially through NAT-style routers since it uses multiple socket connections. Buts thats a whole new topic :-) There are several commercial SSHD servers for Windows. Many use OpenSSH, which is also works well on Windows using Cygwin. Our free Co:Z toolkit, which uses SSH, supports Windows servers as partners to z/OS. We have some quick-start instructions on setting up OpenSSH on Windows here: http://dovetail.com/docs/coz/install.html#install_win Kirk -- 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
Re: MVS initiated FTP to Windows
Well, at the site in question, there was no such updating of DNS for workstations. Why? I have no idea. So, another solution was necessary. On Wed Mar 19 12:05 , Scott Rowe [EMAIL PROTECTED] sent: This seems like a whole lot of work to go through to get around a problem that shouldn't exist in the first place. If the DHCP/DNS is setup correctly, every PC should have a valid DNS name that resolves the IP address correctly. I don't remember any site I've worked at recently (5 years) where I couldn't use a DNS name to address a desktop machine. Gary Green [EMAIL PROTECTED] 3/19/2008 10:59 AM A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in order for MVS to initiate the FTP down to the WS. Most have said it needs to be a static IP address. At this site, we use static IP addresses. However, while I no longer have the VBS/WSF (a VB script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to process the VBS/WSF file which would parse a txt file that was the output of IPCONFIG /ALL IPINFO.TXT. The data in the file contained the current WS IP address. Once the file was parsed (I got the data I needed), I knew the IP address and would save it to a one-line TXT file which was then FTP'ed to the MVS host and stored in a flat file which was read, actually copied, into the “host side†FTP SYSIN file. Now, I had what I needed to know to initiate the FTP down to the workstation. Using the Scheduled Tasks utility in XP, the BAT/CMD file would be kicked off at system started up (boot) and daily, about 10-15 minutes before the first MVS job of the day that produced the data I needed on the WS. While there may have been a better solution, or one more robust/reliable, it was not as ugly as it seems and the end result was it worked! In the time I was there using this process, there was only one occasion when the lease of a workstation expired between the time the IP address was FTP’ed to the host and the time the host needed the IP address to send the data down. I had intentions of rewriting the script file, but you know how that isâ€| -- 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
Re: MVS initiated FTP to Windows
I'd appreciate it immensely if we could conduct a private dialog about the capabilities of your Netgear box. I'm a babe in the woods in these matters. My Linux experience consists of a few days of experimenting with Red-Hat 6.0. Replied off-list -- 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 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
Re: MVS initiated FTP to Windows
Well, that's an interesting question, Rick. In my situations, everything was behind the firewall so there was little concern for hackers. I do know that the IIS on the WS can be setup with some security (userid, password, restricted directory(ies), etc... Is there any built-in security for FTP? Perhaps encryption? Oh, oh, oh... I just had an idea. One could send an email from the host to the workstation, no matter where it was. The email would contain an identifiable subject line. Outlook could be setup to look for that special subject and would save the email, file, etc... in a directory that is monitored by a VBS. Once a file is placed in that directory, the script would move it elsewhere and then trigger an FTP GET from the WS using the file/email contents to identify what is to be brought down from the host, rather pushed down by the host. Once down, do with the file as you will. This is how I process the performance files I mentioned in my original post. A file arrives in a monitored directory, by a script, and the script then invokes Excel to process the file. When Excel is finished processing the file, it either moves it to another directory or deletes it. I have had this process working for more than a couple of years now and the only trouble I ever experienced, once up and working that is, was when the WS died from a disk crash. If the file on the host is a nothing special text file, and if it were small enough (site specific) you could always just email the file to the WS and be done with it. To keep an eye on things I am responsible for, I send/email files to my home email address all the time. Yes, yes, I know it violates certain security concerns and perhaps some auditors would get bent out of shape. However, the data in the files is nothing more than status information. If I wanted, I could even turn on an Outlook script that could identify those emails of extreme importance and then send a text to my cell phone. Oh, I forgot to mention. This email processing is how I can retrieve files on a WS via Outlook. I send an email to a WS, setup for the process of course. Once the identified email (special subject line identifier) is received, a script will reply to the received email with the requested file attached. I can even have the file sent to one of a list of already-identified email addresses. I just know I am giving security-conscious lurkers acid-reflux with all this. ;) On Wed Mar 19 11:57 , Rick Fochtman [EMAIL PROTECTED] sent: - A lot has been said about MVS/DNS/etc..., knowing the IP address of the workstation in order for MVS to initiate the FTP down to the WS. Most have said it needs to be a static IP address. At this site, we use static IP addresses. However, while I no longer have the VBS/WSF (a VB script) file, at a prior site I wrote a plain-ole BAT/CMD file which called CSCRIPT to process the VBS/WSF file which would parse a txt file that was the output of IPCONFIG /ALL IPINFO.TXT. The data in the file contained the current WS IP address. Once the file was parsed (I got the data I needed), I knew the IP address and would save it to a one-line TXT file which was then FTP'ed to the MVS host and stored in a flat file which was read, actually copied, into the 'host side' FTP SYSIN file. Now, I had what I needed to know to initiate the FTP down to the workstation. Using the Scheduled Tasks utility in XP, the BAT/CMD file would be kicked off at system started up (boot) and daily, about 10-15 minutes before the first MVS job of the day that produced the data I needed on the WS. While there may have been a better solution, or one more robust/reliable, it was not as ugly as it seems and the end result was it worked! In the time I was there using this process, there was only one occasion when the lease of a workstation expired between the time the IP address was FTPed to the host and the time the host needed the IP address to send the data down. I had intentions of rewriting the script file, but you know how that is. -- 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
Re: MVS initiated FTP to Windows
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Gary Green Sent: Wednesday, March 19, 2008 2:15 PM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows Well, that's an interesting question, Rick. In my situations, everything was behind the firewall so there was little concern for hackers. I do know that the IIS on the WS can be setup with some security (userid, password, restricted directory(ies), etc... Is there any built-in security for FTP? Perhaps encryption? Oh, oh, oh... I just had an idea. [snip] I just know I am giving security-conscious lurkers acid-reflux with all this. ;) That is actually fairly good. The only thing that I would add to it would be to encrypt the email entirely, both ways. That way, nobody can fake one on you. And the data is relatively safe as it crosses the Internet. Of course, if you do it a lot, a number of government entities might become concerned. Use of a one time pad would be even more secure than using a pre-selected private key. And each message could contain the contents of the next pad in the series. -- 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 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
Re: MVS initiated FTP to Windows
Actually, that is something I have... thought about, but only as long as it took the next thing to pop up and send me off track to handle another problem, etc... Before encryption became easily available on the mainframe, I had thought about a putting together an automated Rube Goldberg process where I would use TRSMAIN to compress a file on the sending host, email it to my home WS, save it there, then FTP it to one of the P/390's I have running, submit a job from the PC, via FTP, to run TRSMAIN to expand the file and then take the output and FTP it back out to my internal LAN. :) I figured the format of a TRSMAIN compressed EBCDIC file should ensure a decent amount of protection. On Wed Mar 19 14:25 , 'McKown, John' [EMAIL PROTECTED] sent: -Original Message- From: IBM Mainframe Discussion List [EMAIL PROTECTED]','','','')[EMAIL PROTECTED] On Behalf Of Gary Green Sent: Wednesday, March 19, 2008 2:15 PM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows Well, that's an interesting question, Rick. In my situations, everything was behind the firewall so there was little concern for hackers. I do know that the IIS on the WS can be setup with some security (userid, password, restricted directory(ies), etc... Is there any built-in security for FTP? Perhaps encryption? Oh, oh, oh... I just had an idea. [snip] I just know I am giving security-conscious lurkers acid-reflux with all this. ;) That is actually fairly good. The only thing that I would add to it would be to encrypt the email entirely, both ways. That way, nobody can fake one on you. And the data is relatively safe as it crosses the Internet. Of course, if you do it a lot, a number of government entities might become concerned. Use of a one time pad would be even more secure than using a pre-selected private key. And each message could contain the contents of the next pad in the series. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology -- 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
Re: MVS initiated FTP to Windows
Rick, I also have a Netgear Firewall at each of my 2 homes, with an encrypted VPN between them. If you have any questions that I can help with, feel free to contact me offline. Rick Fochtman [EMAIL PROTECTED] 3/19/2008 1:19 PM --snip-- -unsnip- This is all very interesting but it doesn't address the issue of security very well. I'm stuck with a direct COMCAST connection to my LAN that I can't disable without disabling my telephones as well. So how to I assure that some hacker from outside doesn't ghost a virus or some form of spyware onto my PC? Running WinXP Pro. You don't have a firewall? I have a Netgear box which connects to my DSL line. My PCs all connect to a switch which also connects to the Netgear firewall. I don't run Windows. I run Linux. But the concepts that I use should be the same. I only allow access to my LAN from a specific set of incoming IP addresses. Of course, I don't allow ftp at all. I use SSH. I think that there is an SSH server available for Windows, but I don't really know. Friends don't let friends drive Windows! [grin] --unsnip--- I'd appreciate it immensely if we could conduct a private dialog about the capabilities of your Netgear box. I'm a babe in the woods in these matters. My Linux experience consists of a few days of experimenting with Red-Hat 6.0. -- 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 Note that my email domain has changed from jo-annstores.com to joann.com. Please update your address book and other records to reflect this change. CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains confidential and privileged information intended only for the addressee. If you are not the intended recipient, please be advised that you have received this material in error and that any forwarding, copying, printing, distribution, use or disclosure of the material is strictly prohibited. If you have received this material in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the material. Emails are not secure and can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email. Thank you. -- 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
Re: MVS initiated FTP to Windows
On Tue, Mar 18, 2008 at 3:33 PM, Dave Salt [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] I would like to be able to kick off an FTP of a dataset to a Windows platform from MVS. I frequently transfer mainframe files to the PC and transfer PC files to the mainframe, and I always perform the transfer from the mainframe side. I don't use FTP; I use the ISPF Workstation Agent. It's free, easy to install, and makes files transfers a snap. For more information see http://www.tsotimes.com/articles/archive/spring04/wsafiletransfer.html Hope that helps, Dave SaltSee the new SimpList(tm) rollover image at: http://www.mackinney.com/products/SIM/simplist.htm I second that. In my experience, WSA is just as fast as FTP, and is much easier to set up. I have a batch job that executes a very simple Rexx program that amounts to little more than an invocation of the ISPF FILEXFER service: ADDRESS ISPEXEC filexfer host(hostfile) ws(wsfile) to(WS) BINARY -- 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
Re: MVS initiated FTP to Windows
That's some of the 'it depends' stuff. Can you get a static IP address for the PC? If it's on DHCP and is up/down frequently, then how would you hit it? Daniel McLaughlin Z-Series Systems Programmer Information Communications Technology Crawford Company 4680 N. Royal Atlanta Tucker GA 30084 phone: 770-621-3256 fax: 770-621-3237 email: [EMAIL PROTECTED] web: www.crawfordandcompany.com IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote on 03/18/2008 02:08:30 PM: [image removed] MVS initiated FTP to Windows David Day to: IBM-MAIN 03/18/2008 02:12 PM Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu Please respond to IBM Mainframe Discussion List -- Information from the mail header --- Sender: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU Poster: David Day [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 Best Overall Third-Party Claims Administrator - 2007 Business Insurance Readers Choice Awards Consider the environment before printing this message. This transmission is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is confidential, proprietary, privileged or otherwise exempt from disclosure. If you are not the named addressee, you are NOT authorized to read, print, retain, copy or disseminate this communication, its attachments or any part of them. If you have received this communication in error, please notify the sender immediately and delete this communication from all computers. This communication does not form any contractual obligation on behalf of the sender, the sender's employer, or the employer's parent company, affiliates or subsidiaries. -- 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
Re: MVS initiated FTP to Windows
Daniel McLaughlin wrote: That's some of the 'it depends' stuff. Can you get a static IP address for the PC? If it's on DHCP and is up/down frequently, then how would you hit it? A full Dynamic IP implementation requires both DHCP and DDNS. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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
Re: MVS initiated FTP to Windows
Mine was kind of an outside, don't speak IP too well, opinion. Always ready to learn something new!. Daniel McLaughlin Z-Series Systems Programmer Information Communications Technology Crawford Company 4680 N. Royal Atlanta Tucker GA 30084 phone: 770-621-3256 fax: 770-621-3237 email: [EMAIL PROTECTED] web: www.crawfordandcompany.com IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote on 03/18/2008 02:23:03 PM: [image removed] Re: MVS initiated FTP to Windows Edward Jaffe to: IBM-MAIN 03/18/2008 02:24 PM Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu Please respond to IBM Mainframe Discussion List -- Information from the mail header --- Sender: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU Poster: Edward Jaffe [EMAIL PROTECTED] Organization: Phoenix Software International, Inc. Subject: Re: MVS initiated FTP to Windows --- Daniel McLaughlin wrote: That's some of the 'it depends' stuff. Can you get a static IP address for the PC? If it's on DHCP and is up/down frequently, then how would you hit it? A full Dynamic IP implementation requires both DHCP and DDNS. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ -- 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 Best Overall Third-Party Claims Administrator - 2007 Business Insurance Readers Choice Awards Consider the environment before printing this message. This transmission is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is confidential, proprietary, privileged or otherwise exempt from disclosure. If you are not the named addressee, you are NOT authorized to read, print, retain, copy or disseminate this communication, its attachments or any part of them. If you have received this communication in error, please notify the sender immediately and delete this communication from all computers. This communication does not form any contractual obligation on behalf of the sender, the sender's employer, or the employer's parent company, affiliates or subsidiaries. -- 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
Re: MVS initiated FTP to Windows
NOTICE: All information in and attached to the e-mail(s) below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message (electronic, paper, or otherwise). Thank you. Yes, there are FTP products out there that can be FTP servers on the PC/windows side. You can Google FTP SERVER and you will get several hits. Larry Gray Large Systems Engineering Lowe's Companies 336-658-7944 -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of David Day Sent: Tuesday, March 18, 2008 2:09 PM To: IBM-MAIN@bama.ua.edu 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
Re: MVS initiated FTP to Windows
Not possible with standard Windows because it don't come with a FTP server. Initiation and control of FTP always comes from the client. Therefore, your z/os job would run as a client (see FTPCDATA) and you'd need a FTP server on Windows. It follows that you'd need logon credentials for the server. Not sure if it is current information, but once upon a time auditors frowned on running FTP server software on ordinary desktops. HTH -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of David Day Sent: Tuesday, March 18, 2008 1:09 PM To: IBM-MAIN@bama.ua.edu 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- 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
Re: MVS initiated FTP to Windows
I run an ftp server on windows and it works quite well. Someone suggested a google search, the one I use Serv-U (http://www.serv-u.com/). And as Ed wrote I use both DHCP and DDNS. Al -- 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
Re: MVS initiated FTP to Windows
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of David Day Sent: Tuesday, March 18, 2008 1:09 PM To: IBM-MAIN@bama.ua.edu 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 We do this all the time. You must have the ftp service running on your Windows server box. A normal Windows desktop does not come with an ftp service. The ftp service, believe it or not, is part of IIS on Windows. Your Windows server should have a hard coded IP address. I don't recommend trying to ftp to a Windows desktop because the IP address may change. However, it could be possible with an add on ftp server and if you are using DDNS in Windows to register your desktop's name and you set the z/OS TCPIP resolver up to use the Windows DNS server to resolve names to IP addresses. -- 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 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
Re: MVS initiated FTP to Windows
Dave, I have to agree with the LIST. As long as you have FTP on your PC and a static IP address, it should work. It works fine here. Have you tried it and getting errors or just testing the water? Jack Kelly 202-502-2390 (Office) David Day [EMAIL PROTECTED] Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu 03/18/2008 02:08 PM Please respond to IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu To IBM-MAIN@bama.ua.edu cc 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
Re: MVS initiated FTP to Windows
Dave; In order to have a Windows workstation accept incoming FTP, in other words Windows as an FTP server, you have to run the Windows IIS service or the equivalent. IIS is an optional component of XP and Vista. There are settings in IIS for starting an FTP server and HTTP server, maybe others. It's been a few years since I worked with it. IIRC it's pretty east to setup, though since this was the part of Windows through which many breaches of security occurred, the security access part of it might be more stringent. It is not setup by default when Windows is installed. FTP has 2 sides to it: A client and a server. The initiator of the request is the client and it contacts a server on a well known IP port (21 is the default). In your case you want MVS to be the client and Windoze to be the server, so you need a server running on it somewhere. HTH, John R. Sullivan EMC Corporation __ 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? -- 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
Re: MVS initiated FTP to Windows
From: [EMAIL PROTECTED] I would like to be able to kick off an FTP of a dataset to a Windows platform from MVS. I frequently transfer mainframe files to the PC and transfer PC files to the mainframe, and I always perform the transfer from the mainframe side. I don't use FTP; I use the ISPF Workstation Agent. It's free, easy to install, and makes files transfers a snap. For more information see http://www.tsotimes.com/articles/archive/spring04/wsafiletransfer.html Hope that helps, Dave SaltSee the new SimpList(tm) rollover image at: http://www.mackinney.com/products/SIM/simplist.htm _ Spread the Love by installing 30 free Messenger Emoticons. Get them now! http://g.msn.ca/ca55/212 -- 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
Re: MVS initiated FTP to Windows
..re Not possible with standard Windows because it don't come with a FTP server. Ah.. But it does! All you need to do is install IIS on your workstation, configure it and somehow get the IP address of the WS to the host and use that to FTP your files down! This is how I get all my performance, and other, files down to my WS every day; which are then automagically processed by a few Excel spreadsheets. You start with Add/Remove Programs, then to Add/Remove Windows Components, select IIS, then specifically, Common Files, FTP Service and the IIS Snap-In. You should be able to find the IIS install in your I386 directory. Once installed you need to configure IIS to point to the incoming directory and a couple of other pieces of information. If you need more, let me know and I'll check my notes. On Tue Mar 18 13:32 , Hal Merritt [EMAIL PROTECTED] sent: Not possible with standard Windows because it don't come with a FTP server. Initiation and control of FTP always comes from the client. Therefore, your z/os job would run as a client (see FTPCDATA) and you'd need a FTP server on Windows. It follows that you'd need logon credentials for the server. Not sure if it is current information, but once upon a time auditors frowned on running FTP server software on ordinary desktops. HTH -Original Message- From: IBM Mainframe Discussion List [EMAIL PROTECTED]','','','')[EMAIL PROTECTED] On Behalf Of David Day Sent: Tuesday, March 18, 2008 1:09 PM To: IBM-MAIN@bama.ua.edu 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- 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
Re: MVS initiated FTP to Windows
Huh? What version of Windows are we talking about??? Both the Windows machines on my desktop are running a built-in ftp server. One is XP Pro, and the other is Vista Enterprise Edition. The ftp server is not installed by default, but it is included in the optional components, for Windows 2000 Workstation, XP Pro and Vista Business/Enterprise. Go to Control Panel, Add/Remove Programs, Windows Optional Features, and look under Internet Information Services. The ftp server will be first item on the list. You can certainly ftp from the host to the ftp server in Windows - I've done it. No special configuration is required on Windows, it just works. Obviously you need something to act as an ftp client on the host (such as 'ftp' under Open MVS). The ftp server for Windows 98 had to be downloaded separately from microsoft.com, but I hope no-one is still running Win98 :-). NT 4.0 I can't remember - but again, NT 4 is long out of support by Microsoft. Hope it helps, Andrew Hal Merritt [EMAIL PROTECTED] wrote: Not possible with standard Windows because it don't come with a FTP server. Initiation and control of FTP always comes from the client. Therefore, your z/os job would run as a client (see FTPCDATA) and you'd need a FTP server on Windows. It follows that you'd need logon credentials for the server. Not sure if it is current information, but once upon a time auditors frowned on running FTP server software on ordinary desktops. HTH -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of David Day Sent: Tuesday, March 18, 2008 1:09 PM To: IBM-MAIN@bama.ua.edu 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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- 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
Re: MVS initiated FTP to Windows
There are plenty of free FTP servers for Windoze out there. Some with SSL/TLS support. Check out http://www.tucows.com. Regards, John K -- 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
Re: MVS initiated FTP to Windows
Ok, I'll refine my comment to 'It is not possible to just FTP to a Windows box; it doesn't come with a FTP server *installed*. More, there are a lot of security hoops to jump through.' Screwed up the grammar anyway :-) Interestingly enough, we just danced with this bear, and IIS never came up in any conversations. Perhaps due to its horrible security record. Or perhaps the encryption issue. Donno. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Gary Green Sent: Tuesday, March 18, 2008 3:01 PM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows ..re Not possible with standard Windows because it don't come with a FTP server. Ah.. But it does! All you need to do is install IIS on your workstation, configure it and somehow get the IP address of the WS to the host and use that to FTP your files down! This is how I get all my performance, and other, files down to my WS every day; which are then automagically processed by a few Excel spreadsheets. You start with Add/Remove Programs, then to Add/Remove Windows Components, select IIS, then specifically, Common Files, FTP Service and the IIS Snap-In. You should be able to find the IIS install in your I386 directory. Once installed you need to configure IIS to point to the incoming directory and a couple of other pieces of information. If you need more, let me know and I'll check my notes. On Tue Mar 18 13:32 , Hal Merritt [EMAIL PROTECTED] sent: NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- 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
Re: MVS initiated FTP to Windows
I would think if you go to the dos prompt and type FTP with no IP address and get the prompt: ftp returned, FTP is on your PC. Bill Date: Tue, 18 Mar 2008 15:09:43 -0400 From: [EMAIL PROTECTED] Subject: Re: MVS initiated FTP to Windows To: IBM-MAIN@bama.ua.edu Dave, I have to agree with the LIST. As long as you have FTP on your PC and a static IP address, it should work. It works fine here. Have you tried it and getting errors or just testing the water? Jack Kelly 202-502-2390 (Office) David Day [EMAIL PROTECTED] Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu 03/18/2008 02:08 PM Please respond to IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu To IBM-MAIN@bama.ua.edu cc 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 -- 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
Re: MVS initiated FTP to Windows
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Andrew McLaren Sent: Tuesday, March 18, 2008 3:23 PM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows Huh? What version of Windows are we talking about??? Both the Windows machines on my desktop are running a built-in ftp server. One is XP Pro, and the other is Vista Enterprise Edition. The ftp server is not installed by default, but it is included in the optional components, for Windows 2000 Workstation, XP Pro and Vista Business/Enterprise. Go to Control Panel, Add/Remove Programs, Windows Optional Features, and look under Internet Information Services. The ftp server will be first item on the list. You can certainly ftp from the host to the ftp server in Windows - I've done it. No special configuration is required on Windows, it just works. Obviously you need something to act as an ftp client on the host (such as 'ftp' under Open MVS). The ftp server for Windows 98 had to be downloaded separately from microsoft.com, but I hope no-one is still running Win98 :-). NT 4.0 I can't remember - but again, NT 4 is long out of support by Microsoft. Hope it helps, Andrew It is? I didn't know that because I only use Windows (XP) at work, and desktop services did not install any kind of ftp servicer. So I stupidity assumed it was only on the server version of Windows. Thanks for the correction! -- 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 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
Re: MVS initiated FTP to Windows
Bill Wilkie of the IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote on 03/18/2008 03:46:17 PM: I would think if you go to the dos prompt and type FTP with no IP address and get the prompt: ftp returned, FTP is on your PC. Whoever initiates the conversation in the Client/Server model is the client. He wanted MVS to be the FTP client or the initiator of the file transfer. Regards, John K -- 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
Re: MVS initiated FTP to Windows
That's just the native FTP client piece. We also need the server piece, and most of us also need the encryption pieces. On top of that, you'll need some security pieces. And that leads to monitoring, logging, reporting, and administrative pieces to satisfy auditors. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Bill Wilkie Sent: Tuesday, March 18, 2008 3:46 PM To: IBM-MAIN@bama.ua.edu Subject: Re: MVS initiated FTP to Windows I would think if you go to the dos prompt and type FTP with no IP address and get the prompt: ftp returned, FTP is on your PC. Bill NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- 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
Re: MVS initiated FTP to Windows
Hal Merritt wrote: Not possible with standard Windows because it don't come with a FTP server. Yes it does. You install the Personal Web Services or Server and it installed Web Server (IIS), FTP server, and a SMTP server. Initiation and control of FTP always comes from the client. Therefore, your z/os job would run as a client (see FTPCDATA) and you'd need a FTP server on Windows. It follows that you'd need logon credentials for the server. Not sure if it is current information, but once upon a time auditors frowned on running FTP server software on ordinary desktops. HTH -- 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