Re: FTP to the VM RDR
In our environment, when I trid to send data to a user's reader, why the following message shown? -- 502 Support for STOR to VM reader is not enabled -- Best Regards! Gao Lu (高路) I/T Specialist Global Technology Services IBM Global Services (China) Company Limited. Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang District, Beijing, 100101 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101 BeiJing 100027, PRC Cell Phone: 15001327619 Internet ID: lu...@cn.ibm.com Raymond Noal raymond.noal@emc .com To Sent by: The IBM IBMVM@LISTSERV.UARK.EDU z/VM Operating cc System IBMVM@LISTSERV.U Subject ARK.EDU Re: FTP to the VM RDR 2011-06-14 02:02 Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.U ARK.EDU Dave, Try – [CD|CDW] userid.RDR Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 1:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP to the VM RDR All, Can any give me the FTP command to transfer to the Reader instead of mini-disk? Thank you… …Dave
转发: Re: FTP to the VM RDR
I can transfer data by enable FTP reader file support, for example RDR filemode Best Regards! Gao Lu (高路) I/T Specialist Global Technology Services IBM Global Services (China) Company Limited. Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang District, Beijing, 100101 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101 BeiJing 100027, PRC Cell Phone: 15001327619 Internet ID: lu...@cn.ibm.com - Forwarded by Lu GL Gao/China/IBM on 2011-06-23 13:45 - Lu GL Gao/China/IBM To 2011-06-23 13:34 IBMVM@LISTSERV.UARK.EDU cc Subject Re: FTP to the VM RDR(Document link: Lu GL Gao Local) In our environment, when I trid to send data to a user's reader, why the following message shown? -- 502 Support for STOR to VM reader is not enabled -- Best Regards! Gao Lu (高路) I/T Specialist Global Technology Services IBM Global Services (China) Company Limited. Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang District, Beijing, 100101 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101 BeiJing 100027, PRC Cell Phone: 15001327619 Internet ID: lu...@cn.ibm.com Raymond Noal raymond.noal@emc .com To Sent by: The IBM IBMVM@LISTSERV.UARK.EDU z/VM Operating cc System IBMVM@LISTSERV.U Subject ARK.EDU Re: FTP to the VM RDR 2011-06-14 02:02 Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.U ARK.EDU Dave, Try – [CD|CDW] userid.RDR Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 1:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP to the VM RDR All, Can any give me the FTP command to transfer to the Reader instead of mini-disk? Thank you… …Dave
Re: FTP to the VM RDR
Read the ftp server configuration chapter in the tcp/ip planning book. You need to add privilege class D to the server and configure the RDR statement into SRVRFTP CONFIG. Regards, Alan Altmark IBM Lab Services - Sent from my BlackBerry Handheld. - Original Message - From: Lu GL Gao [lu...@cn.ibm.com] Sent: 06/23/2011 01:34 PM ZE8 To: IBMVM@LISTSERV.UARK.EDU Subject: Re: [IBMVM] FTP to the VM RDR In our environment, when I trid to send data to a user's reader, why the following message shown? -- 502 Support for STOR to VM reader is not enabled -- Best Regards! Gao Lu (高路) I/T Specialist Global Technology Services IBM Global Services (China) Company Limited. Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang District, Beijing, 100101 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101 BeiJing 100027, PRC Cell Phone: 15001327619 Internet ID: lu...@cn.ibm.com Raymond Noal raymond.noal@emc .com To Sent by: The IBM IBMVM@LISTSERV.UARK.EDU z/VM Operating cc System IBMVM@LISTSERV.U Subject ARK.EDU Re: FTP to the VM RDR 2011-06-14 02:02 Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.U ARK.EDU Dave, Try – [CD|CDW] userid.RDR Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 1:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP to the VM RDR All, Can any give me the FTP command to transfer to the Reader instead of mini-disk? Thank you… …Dave
Re: FTP to the VM RDR
Dave, Try - [CD|CDW] userid.RDR Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 1:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP to the VM RDR All, Can any give me the FTP command to transfer to the Reader instead of mini-disk? Thank you... ...Dave
Re: FTP to the VM RDR
Ray, Works perfect. Thank you... ...Dave From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Raymond Noal Sent: Monday, June 13, 2011 2:02 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP to the VM RDR Dave, Try - [CD|CDW] userid.RDR Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 1:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP to the VM RDR All, Can any give me the FTP command to transfer to the Reader instead of mini-disk? Thank you... ...Dave
Re: FTP to the VM RDR
You are most welcome. Glad I could be of assistance. Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 2:08 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP to the VM RDR Ray, Works perfect. Thank you... ...Dave From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Raymond Noal Sent: Monday, June 13, 2011 2:02 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP to the VM RDR Dave, Try - [CD|CDW] userid.RDR Raymond E. Noal EMC² where information lives Phone: (508) 249-4076 Ext: 44076 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tracy, David Sent: Monday, June 13, 2011 1:58 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP to the VM RDR All, Can any give me the FTP command to transfer to the Reader instead of mini-disk? Thank you... ...Dave
Re: FTP Problem
Hello Peter Webb, Have you resolved this problem? Can you FTP out from the z/VM system? Sorry I have been out the last couple of days. Ed Martin Aultman Health Foundation 330-363-5050 Ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Quay, Jonathan (IHG) Sent: Friday, April 08, 2011 2:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Problem Also look at chapters 7, 8 and 9 in the z/VM TCP/IP Diagnosis Guide version 5 release 3, which will show you how to do packet trace and format the results, and also FTP server traces. If you see the VM FTP server try to open a connection back to the windows box on a different port, and you never get a response, that would be a big clue. You can also get IBM support to help you read those traces. They love to do stuff like that. claimer is property of the TTC and must not be altered or circumvented in any manner.
Re: FTP Problem
Are all ports really open? Can you open a connection going the other way? Are the hanging servers trying to do a reverse dns lookup on the windows workstation? You could use the network tracing facilities on z/VM to get more insight in to what is happening. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of peter.w...@ttc.ca Sent: Friday, April 08, 2011 11:43 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Problem First, a diagram. Windows Server |-- 10.199.8.15 | Windows | Workstation | z/VM 5.3 10.200.70.35 -- Firewall -- 10.199.103.48 | | | Windows laptop |-- 10.199.16.x We are attempting to FTP from the Windows PC at 10.200.70.35 to the three addresses on the 10.199 network. Our network guy says that the three 10.199 addresses have been fully opened on the firewall for 10.200.70.35 to access. That is, all ports are available. - 10.200.70.35 can FTP to 10.199.16.x, the network guy's laptop. - When 10.200.70.35 attempts to FTP to either 10.199.8.15 or 10.199.103.48, the FTP hangs at userid and password validation for several minutes before dying. - Several people have confirmed that the userid and password are correct. - The Windows Server at 10.199.8.15 is tightly access controlled. - z/VM at 10.199.103.48 does not restrict FTP access by IP address, just userid and password. - z/VM can FTP to 10.199.8.15. - Various servers and workstations can FTP to z/VM. - Pings are blocked by the firewall, but a TRACERTE from z/VM seems to show 10.200.70.35 can be reached, just no TTL information. Our network guy is really busy at the moment, so I'm wondering if there is anything I can look at on z/VM that would show why the FTP logon is hanging/failing. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed on the Internet. The sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on the basis of information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is property of the TTC and must not be altered or circumvented in any manner.
Re: FTP Problem
- When 10.200.70.35 attempts to FTP to either 10.199.8.15 or 10.199.103.48, the FTP hangs at userid and password validation for several minutes before dying. Is the windows machine connecting to z/VM using command line or a GUI? Try the dos prompt command line ftp and see if it still fails. I could write more though I'd rather get your reply first. Jim Hughes Consulting Systems Programmer Mainframe Technical Support Group Department of Information Technology State of New Hampshire 27 Hazen Drive Concord, NH 03301 603-271-5586Fax 603.271.1516 Statement of Confidentiality: The contents of this message are confidential. Any unauthorized disclosure, reproduction, use or dissemination (either whole or in part) is prohibited. If you are not the intended recipient of this message, please notify the sender immediately and delete the message from your system. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of peter.w...@ttc.ca Sent: Friday, April 08, 2011 11:43 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Problem First, a diagram. Windows Server |-- 10.199.8.15 | Windows | Workstation | z/VM 5.3 10.200.70.35 -- Firewall -- 10.199.103.48 | | | Windows laptop |-- 10.199.16.x We are attempting to FTP from the Windows PC at 10.200.70.35 to the three addresses on the 10.199 network. Our network guy says that the three 10.199 addresses have been fully opened on the firewall for 10.200.70.35 to access. That is, all ports are available. - 10.200.70.35 can FTP to 10.199.16.x, the network guy's laptop. - When 10.200.70.35 attempts to FTP to either 10.199.8.15 or 10.199.103.48, the FTP hangs at userid and password validation for several minutes before dying. - Several people have confirmed that the userid and password are correct. - The Windows Server at 10.199.8.15 is tightly access controlled. - z/VM at 10.199.103.48 does not restrict FTP access by IP address, just userid and password. - z/VM can FTP to 10.199.8.15. - Various servers and workstations can FTP to z/VM. - Pings are blocked by the firewall, but a TRACERTE from z/VM seems to show 10.200.70.35 can be reached, just no TTL information. Our network guy is really busy at the moment, so I'm wondering if there is anything I can look at on z/VM that would show why the FTP logon is hanging/failing. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed on the Internet. The sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on the basis of information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is property of the TTC and must not be altered or circumvented in any manner.
Re: FTP Problem
Did they check firewall configuration on the Windows boxes? The default settings for the Windows firewalls don't permit FTP.
Re: FTP Problem
Thanks for the responses. Are all ports really open? I think so. I trust the network guy, and he showed me the firewall settings (which didn't mean a lot to me). Can you open a connection going the other way? I can do a trace route which appears to work. Access to 10.200.70.35 is difficult. See below. Are the hanging servers trying to do a reverse dns lookup on the windows workstation? Possibly. I don't know how to tell. Is the windows machine connecting to z/VM using command line or a GUI? GUI. Try the dos prompt command line ftp and see if it still fails. I tried when I visited in December. No luck. One difficulty is that 10.200.70.35 is located at another facility in a high security area with very restricted access, and visitors are subject to being booted out immediately if 'something' happens. This includes my contact at the other facility. That's why I want to try and work the problem from the z/VM end. Did they check firewall configuration on the Windows boxes? The default settings for the Windows firewalls don't permit FTP. The workstation 10.200.70.35 can successfully FTP out, and the server 10.199.8.15 accepts FTP connections to it, so I don't think that the Windows firewall is the problem. Peter The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed on the Internet. The sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on the basis of information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is property of the TTC and must not be altered or circumvented in any manner.
Re: FTP Problem
Get out your TCPIP manual and see what the FTPSERV userid is doing. You can trace its commands, see results, etc... It can be stopped and started using an OBEYFILE command. Jim Hughes Consulting Systems Programmer Mainframe Technical Support Group Department of Information Technology State of New Hampshire 27 Hazen Drive Concord, NH 03301 603-271-5586Fax 603.271.1516 Statement of Confidentiality: The contents of this message are confidential. Any unauthorized disclosure, reproduction, use or dissemination (either whole or in part) is prohibited. If you are not the intended recipient of this message, please notify the sender immediately and delete the message from your system. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of peter.w...@ttc.ca Sent: Friday, April 08, 2011 2:03 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Problem Thanks for the responses. Are all ports really open? I think so. I trust the network guy, and he showed me the firewall settings (which didn't mean a lot to me). Can you open a connection going the other way? I can do a trace route which appears to work. Access to 10.200.70.35 is difficult. See below. Are the hanging servers trying to do a reverse dns lookup on the windows workstation? Possibly. I don't know how to tell. Is the windows machine connecting to z/VM using command line or a GUI? GUI. Try the dos prompt command line ftp and see if it still fails. I tried when I visited in December. No luck. One difficulty is that 10.200.70.35 is located at another facility in a high security area with very restricted access, and visitors are subject to being booted out immediately if 'something' happens. This includes my contact at the other facility. That's why I want to try and work the problem from the z/VM end. Did they check firewall configuration on the Windows boxes? The default settings for the Windows firewalls don't permit FTP. The workstation 10.200.70.35 can successfully FTP out, and the server 10.199.8.15 accepts FTP connections to it, so I don't think that the Windows firewall is the problem. Peter The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed on the Internet. The sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on the basis of information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is property of the TTC and must not be altered or circumvented in any manner.
Re: FTP Problem
Also look at chapters 7, 8 and 9 in the z/VM TCP/IP Diagnosis Guide version 5 release 3, which will show you how to do packet trace and format the results, and also FTP server traces. If you see the VM FTP server try to open a connection back to the windows box on a different port, and you never get a response, that would be a big clue. You can also get IBM support to help you read those traces. They love to do stuff like that. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of peter.w...@ttc.ca Sent: Friday, April 08, 2011 2:03 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Problem Thanks for the responses. Are all ports really open? I think so. I trust the network guy, and he showed me the firewall settings (which didn't mean a lot to me). Can you open a connection going the other way? I can do a trace route which appears to work. Access to 10.200.70.35 is difficult. See below. Are the hanging servers trying to do a reverse dns lookup on the windows workstation? Possibly. I don't know how to tell. Is the windows machine connecting to z/VM using command line or a GUI? GUI. Try the dos prompt command line ftp and see if it still fails. I tried when I visited in December. No luck. One difficulty is that 10.200.70.35 is located at another facility in a high security area with very restricted access, and visitors are subject to being booted out immediately if 'something' happens. This includes my contact at the other facility. That's why I want to try and work the problem from the z/VM end. Did they check firewall configuration on the Windows boxes? The default settings for the Windows firewalls don't permit FTP. The workstation 10.200.70.35 can successfully FTP out, and the server 10.199.8.15 accepts FTP connections to it, so I don't think that the Windows firewall is the problem. Peter The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed on the Internet. The sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on the basis of information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is property of the TTC and must not be altered or circumvented in any manner.
Re: FTP within REXX EXEC
Thanks, Clovis. Regards, Steve From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of gclo...@br.ibm.com Sent: Thursday, December 09, 2010 11:13 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP within REXX EXEC Hi, Steve. My question is. What can I do to retrieve the return code if this fails or is successful? The answer is: append (exit to FTP command. See this sample (that sends PERFSVM summary files to GDG file at zOS). In this case: binary, EBCDIC, variable records... // /* Send SUMMARY DATA to MVS by FTP*/ // Arg fn ft nfm lrecl . fileid = fn||.||ft||.||nfm queue quote site recfm=VB lrecl=lrecl blksize=0 queue quote site STORCLAS=VMBASE queue cd 'TDS.FROMVM.' queue passive queue MODE B queue TYPE E queue put fileid ZVM540||(+1) queue quit ftp 10.100.1.220 (exit $rc = rc Return $rc Good luck. __ Clovis From: Steve Perez sspe...@corelogic.com To: IBMVM@LISTSERV.UARK.EDU Date: 08/12/2010 20:05 Subject:FTP within REXX EXEC Sent by:The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU Hello Listers, I have written an REXX exec to file transfer monitor data files from our z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from that code: push 'quit' push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve. ** This message may contain confidential or proprietary information intended only for the use of the addressee(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message and any copies immediately thereafter. Thank you. ** CLLD
Re: FTP within REXX EXEC
Hi, Steve. My question is. What can I do to retrieve the return code if this fails or is successful? The answer is: append (exit to FTP command. See this sample (that sends PERFSVM summary files to GDG file at zOS). In this case: binary, EBCDIC, variable records... // /* Send SUMMARY DATA to MVS by FTP*/ // Arg fn ft nfm lrecl . fileid = fn||.||ft||.||nfm queue quote site recfm=VB lrecl=lrecl blksize=0 queue quote site STORCLAS=VMBASE queue cd 'TDS.FROMVM.' queue passive queue MODE B queue TYPE E queue put fileid ZVM540||(+1) queue quit ftp 10.100.1.220 (exit $rc = rc Return $rc Good luck. __ Clovis From: Steve Perez sspe...@corelogic.com To: IBMVM@LISTSERV.UARK.EDU Date: 08/12/2010 20:05 Subject: FTP within REXX EXEC Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU Hello Listers, I have written an REXX exec to file transfer monitor data files from our z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from that code: push 'quit' push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve.
Re: FTP within REXX EXEC
I think what you really want here is BATFTP. It codes like REXX and allows you to deal with return codes from every step. I've had it for a long time and don't remember where I got it originally. Bob Bates robert.ba...@wellsfargo.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
Re: FTP within REXX EXEC
Get a copy of VMFTP from the IBM VM downloads page. You will not regret it. It allows you to write rexx ftp scripts and you can check return codes as well as look at the results of each ftp command in case you need to determine what to do next. Jim Hughes 603-271-5586 It is fun to do the impossible. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Perez Sent: Wednesday, December 08, 2010 5:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP within REXX EXEC Hello Listers, I have written an REXX exec to file transfer monitor data files from our = z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from = that code: push 'quit' = = push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... = 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails = or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve.
Re: FTP within REXX EXEC
I cannot find VMFTP on the IBM VM download page. http://www.vm.ibm.com/download/packages/ Thanks, Steve -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Sent: Wednesday, December 08, 2010 4:09 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP within REXX EXEC Get a copy of VMFTP from the IBM VM downloads page. You will not regret it. It allows you to write rexx ftp scripts and you can check return codes as well as look at the results of each ftp command in case you need to determine what to do next. Jim Hughes 603-271-5586 It is fun to do the impossible. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Perez Sent: Wednesday, December 08, 2010 5:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP within REXX EXEC Hello Listers, I have written an REXX exec to file transfer monitor data files from our = z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from = that code: push 'quit' = = push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... = 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails = or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve. ** This message may contain confidential or proprietary information intended only for the use of the addressee(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message and any copies immediately thereafter. Thank you. ** CLLD
Re: FTP within REXX EXEC
I recommend the very flexible VMFTP shareware. You write macros as REXX execs, giving you complete control of the FTP session. For example, we sometimes send VMDUMPs to a particular ISV (each ISV has its own exec/macro). Some want the VMDUMP COPYFILE (PACKed before sending (doing so preserves record lengths of variable length files when UNPACK'ed at the other end). Rather than documenting all their preferences, and target directory naming conventions, I wrote an FTP2isv EXEC and VMFTP macro (where isv is the ISV's initials). From FILELIST on the VMDUMP, I enter: FTP2isv / outputfn outputft issue_number The FTP2isv process checks to ensure that the file is already COPYFILE PACK'ed, or it find free disk space and does it, then calls the FTP2isv VMFTP macro (again, all written in REXX), establishes the FTP session, issues all the preferred FTP commands (e.g. 'BIN FIXED 1024', 'CD dirname', 'PUT ifn.ift.ifm ofn.oft', 'QUIT'). That makes life a lot easier. z/VM users can easily FTP files to their z/VM userid from z/OS by running a local FTPFMZOS EXEC, which in turns calls a FTPFMZOS VMFTP macro. We've also used it to write execs/macros that send a batch job via NJE to our z/OS systems, which in turn connects back to z/VM to FTP very large (both LRECL and number of records) files from a target disk, then runs additional application programs on z/OS. When the job completes, the initial (still waiting) exec sees the messages sent via NJE and cleans up work files on the user's disk. The VMFTP package can be obtained from: Fran Hensler's excellent Slippery Rock University FTP site with the most recent updates as of 2009-03-13 at: http://zvm.sru.edu/~DOWNLOAD/ It's well worth the time you'll spend installing it and becoming familiar with it. I could send a sample of one of our simpler EXEC/VMFTP macros if you'd like. Mike Walter Aon Corporation The opinions expressed herein are mine alone, not my employer's. Steve Perez sspe...@corelogic.com Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 12/08/2010 04:05 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject FTP within REXX EXEC Hello Listers, I have written an REXX exec to file transfer monitor data files from our z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from that code: push 'quit' push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve. The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: FTP within REXX EXEC
Try Fran Hensler's site http://zvm.sru.edu/~DOWNLOAD/ Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Perez, Steve S Sent: Wednesday, December 08, 2010 2:37 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP within REXX EXEC I cannot find VMFTP on the IBM VM download page. http://www.vm.ibm.com/download/packages/ Thanks, Steve -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Sent: Wednesday, December 08, 2010 4:09 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP within REXX EXEC Get a copy of VMFTP from the IBM VM downloads page. You will not regret it. It allows you to write rexx ftp scripts and you can check return codes as well as look at the results of each ftp command in case you need to determine what to do next. Jim Hughes 603-271-5586 It is fun to do the impossible. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Perez Sent: Wednesday, December 08, 2010 5:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP within REXX EXEC Hello Listers, I have written an REXX exec to file transfer monitor data files from our = z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from = that code: push 'quit' = = push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... = 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails = or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve. ** This message may contain confidential or proprietary information intended only for the use of the addressee(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message and any copies immediately thereafter. Thank you. ** CLLD
Re: FTP within REXX EXEC
Hi Mike, Thanks for the info. I would appreciate a sample to give me a quick understanding of how it works. Thanks to ALL who have responded. Kind Regards, Steve -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Mike Walter Sent: Wednesday, December 08, 2010 4:38 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP within REXX EXEC I recommend the very flexible VMFTP shareware. You write macros as REXX execs, giving you complete control of the FTP session. For example, we sometimes send VMDUMPs to a particular ISV (each ISV has its own exec/macro). Some want the VMDUMP COPYFILE (PACKed before sending (doing so preserves record lengths of variable length files when UNPACK'ed at the other end). Rather than documenting all their preferences, and target directory naming conventions, I wrote an FTP2isv EXEC and VMFTP macro (where isv is the ISV's initials). From FILELIST on the VMDUMP, I enter: FTP2isv / outputfn outputft issue_number The FTP2isv process checks to ensure that the file is already COPYFILE PACK'ed, or it find free disk space and does it, then calls the FTP2isv VMFTP macro (again, all written in REXX), establishes the FTP session, issues all the preferred FTP commands (e.g. 'BIN FIXED 1024', 'CD dirname', 'PUT ifn.ift.ifm ofn.oft', 'QUIT'). That makes life a lot easier. z/VM users can easily FTP files to their z/VM userid from z/OS by running a local FTPFMZOS EXEC, which in turns calls a FTPFMZOS VMFTP macro. We've also used it to write execs/macros that send a batch job via NJE to our z/OS systems, which in turn connects back to z/VM to FTP very large (both LRECL and number of records) files from a target disk, then runs additional application programs on z/OS. When the job completes, the initial (still waiting) exec sees the messages sent via NJE and cleans up work files on the user's disk. The VMFTP package can be obtained from: Fran Hensler's excellent Slippery Rock University FTP site with the most recent updates as of 2009-03-13 at: http://zvm.sru.edu/~DOWNLOAD/ It's well worth the time you'll spend installing it and becoming familiar with it. I could send a sample of one of our simpler EXEC/VMFTP macros if you'd like. Mike Walter Aon Corporation The opinions expressed herein are mine alone, not my employer's. Steve Perez sspe...@corelogic.com Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 12/08/2010 04:05 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject FTP within REXX EXEC Hello Listers, I have written an REXX exec to file transfer monitor data files from our z/VM Lpar to our z/OS Lpar using FTP. The following is an excerpt from that code: push 'quit' push put TEST.FILE.A 'my.zos.dsn' ... other ftp commands here ... 'FTP' ftpaddress My question is. What can I do to retrieve the return code if this fails or is successful? Or any other ideas or suggestions I can use to determine if the file successfully transferred? Thanks in advance for any and all replies. Steve. The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail. ** This message may contain confidential or proprietary information intended only for the use of the addressee(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message and any copies immediately thereafter. Thank you. ** CLLD
Re: FTP Question
Would you consider using another product, say Connect:Direct? It can do this. Bob
Re: FTP Question
Yes... -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Sent: Sunday, November 21, 2010 9:43 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question Are you saying the file in z/VM was EBCDIC and the file landed on the windows system in ASCII without the cr/lf delimiters? _ Jim Hughes x5586 It is fun to do the impossible. Quote from Walt Disney From: The IBM z/VM Operating System on behalf of Tracy, David Sent: Sun 11/21/2010 1:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Thank you in advance... Dave Tracy
Re: FTP Question
Please share your ftp commands with us. There is more to this than meets the eye. Jim Hughes 603-271-5586 It is fun to do the impossible. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Tracy, David Sent: Monday, November 22, 2010 8:26 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question Yes... -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Sent: Sunday, November 21, 2010 9:43 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question Are you saying the file in z/VM was EBCDIC and the file landed on the windows system in ASCII without the cr/lf delimiters? _ Jim Hughes x5586 It is fun to do the impossible. Quote from Walt Disney From: The IBM z/VM Operating System on behalf of Tracy, David Sent: Sun 11/21/2010 1:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Thank you in advance... Dave Tracy
Re: FTP Question
What windows ftp server software are you using? Jim Hughes 603-271-5586 It is fun to do the impossible. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Tracy, David Sent: Monday, November 22, 2010 8:26 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question Yes... -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Sent: Sunday, November 21, 2010 9:43 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question Are you saying the file in z/VM was EBCDIC and the file landed on the windows system in ASCII without the cr/lf delimiters? _ Jim Hughes x5586 It is fun to do the impossible. Quote from Walt Disney From: The IBM z/VM Operating System on behalf of Tracy, David Sent: Sun 11/21/2010 1:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Thank you in advance... Dave Tracy
Re: FTP Question
Windows is more specific about its requirements for line termination. Generally it must be CR/LF. I have found some editors and other tools on Windows to be really confused when fed a Unix text file, for example. Can you bring up the file with WordPad? (aka 'write') Can you 'type' the file? -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Mon, Nov 22, 2010 at 08:25, Tracy, David david.tr...@nielsen.com wrote: Yes... -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Hughes, Jim Sent: Sunday, November 21, 2010 9:43 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question Are you saying the file in z/VM was EBCDIC and the file landed on the windows system in ASCII without the cr/lf delimiters? _ Jim Hughes x5586 It is fun to do the impossible. Quote from Walt Disney From: The IBM z/VM Operating System on behalf of Tracy, David Sent: Sun 11/21/2010 1:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Thank you in advance... Dave Tracy
Re: FTP Question
From: Tracy, David Sent: Sunday, November 21, 2010 1:06 PM To: 'The IBM z/VM Operating System' Cc: Potter, Thomas A Subject: FTP Question Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Thank you in advance... Dave Tracy
Re: FTP Question
On 11/21/2010 at 01:05 PM, Tracy, David david.tr...@nielsen.com wrote: Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Are you specifying ASCII? If not, the FTP protocol won't insert the CR/LF at the end. Mark Post
Re: FTP Question
Are you saying the file in z/VM was EBCDIC and the file landed on the windows system in ASCII without the cr/lf delimiters? _ Jim Hughes x5586 It is fun to do the impossible. Quote from Walt Disney From: The IBM z/VM Operating System on behalf of Tracy, David Sent: Sun 11/21/2010 1:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question Hello, We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Thank you in advance... Dave Tracy
Re: FTP Question
On Sunday, 11/21/2010 at 01:04 EST, Tracy, David david.tr...@nielsen.com wrote: We are ftping a variable length file from a z/VM 5.4 system ascii transfer to a windows based server. The receiving end is not getting the carriage return linefeed and the lines in the file seem to be wrapped. Can anyone provide any ideas as to what may be the issue here? Divide and conquer. Your network techs can get a line trace to verify whether or not VM is transmitting 0x0d0a (CRLF) at the end of each record. If it isn't, then you look at the FTP transaction to confirm ASCII mode. (Unlike z/OS, z/VM does not have an option to translate data from EBCDIC to ASCII without insertion of CRLFs.) If it *is* transmitting CRLF, then you have to look at the FTP server to see what's going on. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott
Re: FTP Command To Use SSL without TLS?
On Thursday, 11/18/2010 at 10:34 EST, Michael Coffin michaelcof...@mccci.com wrote: I need to connect to an FTPS server on my network that has Implicit SSL enabled. Using the CMS FTP client, what is the magic incantation of options to initiate a secure session WITHOUT using TLS? The SECURE option says the connection will be secured using TLS. Obviously, that?s no good in this case, the FTPS server expects the incoming connection stream to already be encrypted. This is on z/VM 5.4 FYI. As you already suspect, there is no magic. Implicit TLS means there is no negotiation. If there is no negotiation, then the ftp client cannot influence the server. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott
Re: FTP Command To Use SSL without TLS?
Thanks Alan. :) -Mike -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Thursday, November 18, 2010 10:46 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Command To Use SSL without TLS? On Thursday, 11/18/2010 at 10:34 EST, Michael Coffin michaelcof...@mccci.com wrote: I need to connect to an FTPS server on my network that has Implicit SSL enabled. Using the CMS FTP client, what is the magic incantation of options to initiate a secure session WITHOUT using TLS? The SECURE option says the connection will be secured using TLS. Obviously, that?s no good in this case, the FTPS server expects the incoming connection stream to already be encrypted. This is on z/VM 5.4 FYI. As you already suspect, there is no magic. Implicit TLS means there is no negotiation. If there is no negotiation, then the ftp client cannot influence the server. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott
Re: FTP and BFS
Richard I read and read again the doc and I found and tested the standard translate table through the openvm mount command. That does the work like FTP with binary option. During the transfer I cut/pasted one that was finished to move it in an other windows folder... All the others transfers failed in a rc=686 I did all the work again without touching anything and all worked perfectly. As you said, it's a brittle methid... Thanks Alain Le 22 oct. 2010 à 15:40, Richard Troth a écrit : The syntax you indicate for the BFS stage is wrong. Did it get pasted into the message incorrectly? You can FTP to/from BFS just fine. I forget off the top of my head just how to activate it. You can mount NFS filesystems into a BFS tree. I have used that for years. It is really teriffic. When you mount the filesystem, you must pay attention to whether or not character set translation is in effect. I ALWAYS turn it on or off for the whole hierarchy being mounted. (There is a list option, which I believe is the default, where translation can be applied based on the filename. it gets messy.) DO NOT use NFS for general file transfer. It looks appealing. But it has never worked well. The design of the network filesystem protocols has never been tuned for bulk transfer. This has nothing to do with the implementation, CMS or some other. The underlying NFS protocol is not well suited to heavy content transport. -- R; On Fri, Oct 22, 2010 at 02:56, Alain Benveniste a.benveni...@free.fr wrote: Hi, I'm looking for a way to reduce a step to send a file. The long method is : pipe tape ! a a a1 then use FTP in binary mode to send it to windows The short method I would like to see it working : pipe tape ! bfs a a a1 (avoid to create file to use FTP) to send it to NFS I tried many options like doing a openvm mount with translate posix and adding a a 'specs 1-* 1 x0d15 n' before the bfs step. I have a set input/output off too. But the structure of the output files when comparing them is not the same. Any idea ? Alain
Re: FTP Question.
-Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Schuh, Richard Sent: Thursday, November 04, 2010 4:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question. We have a process that transfers thousands of files from a Linux guest in one LPAR to a CMS file in another. The process, following a successful logon, goes like this: Cd dir1 Mget *.* (replace Cd dir2 Mget * * (replace Cd dir3 Mget * * (replace The entire process is done via VMFTP. It takes a long time to transfer all of the files. I read somewhere that a new data path is created for each file. This appears to be where the time is being spent. Is there any was to cut down on or eliminate this time? It would seem to me to be much more efficient if all of the data were transferred over the same path without all of the reconnecting. In this case, the target disk is a large V-disk that has nothing on it. The files get molested and moved to a more permanent residence after all have been obtained. Regards, Richard Schuh PMJI, I'm not very z/VM literate any more. My first thought is to have the remote sited package up the files into a single archive file (likeunto zip), transfer that archive file, then expand the archive on CMS. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-691-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM
Re: FTP Question.
There is a tcpip connection for each file. When you say VMFTP are you referring to the FTP program in VM or the VMFTP program supplied by Romney White? In either case, check a few test GET commands and see how long it takes to create session and transfer the file. You should see a PORT command if you are doing active ftp, Enable logging and post some of the logfile. I bet we can see where the delay is coming from. It should take less than 1 second to create a connection. Jim Hughes 603-271-5586 It is fun to do the impossible. From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Schuh, Richard Sent: Thursday, November 04, 2010 5:20 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP Question. We have a process that transfers thousands of files from a Linux guest in one LPAR to a CMS file in another. The process, following a successful logon, goes like this: Cd dir1 Mget *.* (replace Cd dir2 Mget * * (replace Cd dir3 Mget * * (replace The entire process is done via VMFTP. It takes a long time to transfer all of the files. I read somewhere that a new data path is created for each file. This appears to be where the time is being spent. Is there any was to cut down on or eliminate this time? It would seem to me to be much more efficient if all of the data were transferred over the same path without all of the reconnecting. In this case, the target disk is a large V-disk that has nothing on it. The files get molested and moved to a more permanent residence after all have been obtained. Regards, Richard Schuh
Re: FTP Question.
On Thursday, 11/04/2010 at 05:22 EDT, Schuh, Richard rsc...@visa.com wrote: The entire process is done via VMFTP. It takes a long time to transfer all of the files. I read somewhere that a new data path is created for each file. This appears to be where the time is being spent. Is there any was to cut down on or eliminate this time? It would seem to me to be much more efficient if all of the data were transferred over the same path without all of the reconnecting. On the data connection, it is the TCP session disconnection that signals EOF (there are no file markers in stream mode). As another benefit, ftp clients can spawn a separate thread for each file, allowing them to be transferred concurrently instead of serially. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott
Re: FTP Question.
Does VM FTP client spawn threads to enable multiple downloads? Jim Hughes 603-271-5586 It is fun to do the impossible. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Friday, November 05, 2010 11:31 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Question. On Thursday, 11/04/2010 at 05:22 EDT, Schuh, Richard rsc...@visa.com wrote: The entire process is done via VMFTP. It takes a long time to transfer all of the files. I read somewhere that a new data path is created for each file. This appears to be where the time is being spent. Is there any was to cut down on or eliminate this time? It would seem to me to be much more efficient if all of the data were transferred over the same path without all of the reconnecting. On the data connection, it is the TCP session disconnection that signals EOF (there are no file markers in stream mode). As another benefit, ftp clients can spawn a separate thread for each file, allowing them to be transferred concurrently instead of serially. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott
Re: FTP Question.
On Friday, 11/05/2010 at 11:35 EDT, Hughes, Jim jim.hug...@doit.nh.gov wrote: Does VM FTP client spawn threads to enable multiple downloads? No, but it constrained by the same standards. There is no way to tell the remote FTP server to send the next file on the same (already open) connection. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 alan_altm...@us.ibm.com IBM Endicott
Re: FTP Question.
On Thu, Nov 4, 2010 at 10:19 PM, Schuh, Richard rsc...@visa.com wrote: The entire process is done via VMFTP. It takes a long time to transfer all of the files. I read somewhere that a new data path is created for each file. This appears to be where the time is being spent. Is there any was to cut down on or eliminate this time? It would seem to me to be much more efficient if all of the data were transferred over the same path without all of the reconnecting. Could it be that the reverse lookup for the IP address of your VM system is leading to dark zones of the network? When DNS zones are not properly configured, you may end up waiting for a time-out. Either ftpd or tcpwrappers could be trying the reverse lookup. Running tcpdump on Linux for UDP data might reveal whether that's the case. If Linux could offer the data via HTTP, you might be able to retrieve multiple files via a persistent connection... | Rob
Re: FTP and BFS
The syntax you indicate for the BFS stage is wrong. Did it get pasted into the message incorrectly? You can FTP to/from BFS just fine. I forget off the top of my head just how to activate it. You can mount NFS filesystems into a BFS tree. I have used that for years. It is really teriffic. When you mount the filesystem, you must pay attention to whether or not character set translation is in effect. I ALWAYS turn it on or off for the whole hierarchy being mounted. (There is a list option, which I believe is the default, where translation can be applied based on the filename. it gets messy.) DO NOT use NFS for general file transfer. It looks appealing. But it has never worked well. The design of the network filesystem protocols has never been tuned for bulk transfer. This has nothing to do with the implementation, CMS or some other. The underlying NFS protocol is not well suited to heavy content transport. -- R; On Fri, Oct 22, 2010 at 02:56, Alain Benveniste a.benveni...@free.fr wrote: Hi, I'm looking for a way to reduce a step to send a file. The long method is : pipe tape ! a a a1 then use FTP in binary mode to send it to windows The short method I would like to see it working : pipe tape ! bfs a a a1 (avoid to create file to use FTP) to send it to NFS I tried many options like doing a openvm mount with translate posix and adding a a 'specs 1-* 1 x0d15 n' before the bfs step. I have a set input/output off too. But the structure of the output files when comparing them is not the same. Any idea ? Alain
Re: FTP PUT
put profile.exec 'mvsfile' FTP defaults to the A disk unless you cd to another mdisk. On Tue, Sep 14, 2010 at 1:14 PM, Aisik Chang a829...@gmail.com wrote: Hi, listers, I has been long time for FPT PUT to create a pds member, What's the syntext for that on VM; put profile.exec.a 'mvstest.test.ftped' STOR 'mvstest.test.ftped' 550 MVSTEST.TEST.FTPED is a partitioned data set and no member was specified on the STOR command. Thanks for your help, Ann -- Mark D Pace Senior Systems Engineer Mainline Information Systems
Re: FTP PUT
The MVS side of the FTP session would decide on the syntax to store a file as a PDS member Did you try PUT profile.exec.a 'mvs.test.ftped(profile)' 2010/9/14 Aisik Chang a829...@gmail.com Hi, listers, I has been long time for FPT PUT to create a pds member, What's the syntext for that on VM; put profile.exec.a 'mvstest.test.ftped' STOR 'mvstest.test.ftped' 550 MVSTEST.TEST.FTPED is a partitioned data set and no member was specified on the STOR command. Thanks for your help, Ann -- Kris Buelens, IBM Belgium, VM customer support
Re: FTP PUT
Thank you, I missed the closing parenthesis. Thanks for the reply Ann On Tue, Sep 14, 2010 at 1:18 PM, Kris Buelens kris.buel...@gmail.comwrote: The MVS side of the FTP session would decide on the syntax to store a file as a PDS member Did you try PUT profile.exec.a 'mvs.test.ftped(profile)' 2010/9/14 Aisik Chang a829...@gmail.com Hi, listers, I has been long time for FPT PUT to create a pds member, What's the syntext for that on VM; put profile.exec.a 'mvstest.test.ftped' STOR 'mvstest.test.ftped' 550 MVSTEST.TEST.FTPED is a partitioned data set and no member was specified on the STOR command. Thanks for your help, Ann -- Kris Buelens, IBM Belgium, VM customer support
Re: FTP of Nomad database files from VM to VM
Try TYPE E, MODE B. You need both to preserve CMS file structure. From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Tracy, David Sent: Tuesday, May 04, 2010 2:16 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP of Nomad database files from VM to VM All, I am attempting to FTP Nomad Database files from a VM(5.3) system to another VM(5.4) system. I have tried binary and EBCDIC without success... Has anyone had success doing this that you would like to share? Thank you in advance... ...Dave
Re: FTP of Nomad database files from VM to VM
I've not used z/VM in a long while. But back in the day, I would use the CMS COPY command with the PACK operand. I'd then transfer that (RSCS). Then have the far end do a CMS COPY UNPACK. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Tracy, David Sent: Tuesday, May 04, 2010 1:16 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP of Nomad database files from VM to VM All, I am attempting to FTP Nomad Database files from a VM(5.3) system to another VM(5.4) system. I have tried binary and EBCDIC without success... Has anyone had success doing this that you would like to share? Thank you in advance... ...Dave
Re: FTP of Nomad database files from VM to VM
I think John's right. Isn't a Nomad2 database RECFM=V? If that's true, won't you lose the record length on each record when it is FTP PUT? COPYFILE (PACK fixes that, preserving the record lengths, but with its obvious overhead at each end, especially for large databases. Just remember when FTPing COPYFILE packed record to first: BIN F 1024 Then when uploading at the target z/VM system, ensure that you upload the file as FIXED 1024, and COPYFILE UNPACK. You might be better off just using a PIPE to send the whole minidisk. Search the IBMVM-L archives for good examples on how to do that. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. McKown, John john.mck...@healthmarkets.com Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 05/04/2010 01:20 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: FTP of Nomad database files from VM to VM I've not used z/VM in a long while. But back in the day, I would use the CMS COPY command with the PACK operand. I'd then transfer that (RSCS). Then have the far end do a CMS COPY UNPACK. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets® 9151 Boulevard 26 ? N. Richland Hills ? TX 76010 (817) 255-3225 phone ? (817)-961-6183 cell john.mck...@healthmarkets.com ? www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets® is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. ?The Chesapeake Life Insurance Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Tracy, David Sent: Tuesday, May 04, 2010 1:16 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP of Nomad database files from VM to VM All, I am attempting to FTP Nomad Database files from a VM(5.3) system to another VM(5.4) system. I have tried binary and EBCDIC without success? Has anyone had success doing this that you would like to share? Thank you in advance? ?Dave The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: FTP of Nomad database files from VM to VM
I have tried binary and EBCDIC without success From VM to VM I do: ftp type e ftp mode b Mike MacIsaac mike...@us.ibm.com (845) 433-7061
Re: FTP of Nomad database files from VM to VM
Mike, Thank you... That worked Thank you all for the responses... ...Dave From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Michael MacIsaac Sent: Tuesday, May 04, 2010 2:35 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP of Nomad database files from VM to VM I have tried binary and EBCDIC without success From VM to VM I do: ftp type e ftp mode b Mike MacIsaac mike...@us.ibm.com (845) 433-7061
Re: FTP Anonymous and SFS
On Friday, 11/13/2009 at 11:38 EST, Frank M. Ramaekers framaek...@ailife.com wrote: I'm trying to setup ANONYMOUS for FTP. I've created a 'nodeid DTCPARMS' and have established connectivity, but I cannot get access to the home directory (VMSYSA:MAINT.PUBLIC). When it attempts to establish the home directory, I get: 230-ANONYMOU logged in; no working directory defined 230 SFS system error; DMSEXIDI rc 8 reason 30100; If I login (to FTP) as MAINT, I get get access to that filepool (VMSYSA:) (CD VMSYSA:MAINT. For instance). If I shut down the FTPSERVE and attempt to access VMSYSA:MAINT.PUBLIC, I have no problems. I have GRANT AUTH PUBLIC VMSYSA:MAINT.PUBLIC (READ NEWREAD. SFS has 4 kinds of access control: - ENROLL user. This user can *connect* to the filepool server. The user *may* be given their own space and the user *may* have file/directory access rights given by GRANT AUTH user. - ENROLL PUBLIC. Any user can *connect* to the filepool server. The connecting user does NOT have their own space and *may* have file/directory access rights. - GRANT AUTH ... TO PUBLIC. Grants access rights to all users of the filepool. - GRANT AUTH ... TO user. Grants access rights to a specific user of the filepool. It does not matter whether their use of the filepool was allowed by ENROLL user or ENROLL PUBLIC. So, when you login anonymously via FTP or NFS, you are assigned the user ID ANONYMOU. If ANONYMOU is not explicitly enrolled in VMSYSA then the SFS server will check to see if you have done ENROLL PUBLIC. If not, access is denied. If so, then file/directory access will be via GRANT AUTH TO ANONYMOU. If ANONYMOU does not have access, then the SFS server will check to see if PUBLIC has access. So, either ENROLL ANONYMOU or ENROLL PUBLIC. Which you do depends on the sensitivity of the data that GRANT AUTH TO PUBLIC would give. Put another way, you may have multiple communities that login to a VM system and a particular SFS server has sensitive data. I will explicitly enroll all members of one community in the filepool, but will not ENROLL PUBLIC. That way I can use GRANT AUTH TO PUBLIC and only reveal information to the one community. Alan Altmark z/VM Development IBM Endicott
Re: FTP Anonymous and SFS
Yep, needed the ENROLL USER ANONYMOU ... Thanks, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Friday, November 13, 2009 11:49 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Anonymous and SFS On Friday, 11/13/2009 at 11:38 EST, Frank M. Ramaekers framaek...@ailife.com wrote: I'm trying to setup ANONYMOUS for FTP. I've created a 'nodeid DTCPARMS' and have established connectivity, but I cannot get access to the home directory (VMSYSA:MAINT.PUBLIC). When it attempts to establish the home directory, I get: 230-ANONYMOU logged in; no working directory defined 230 SFS system error; DMSEXIDI rc 8 reason 30100; If I login (to FTP) as MAINT, I get get access to that filepool (VMSYSA:) (CD VMSYSA:MAINT. For instance). If I shut down the FTPSERVE and attempt to access VMSYSA:MAINT.PUBLIC, I have no problems. I have GRANT AUTH PUBLIC VMSYSA:MAINT.PUBLIC (READ NEWREAD. SFS has 4 kinds of access control: - ENROLL user. This user can *connect* to the filepool server. The user *may* be given their own space and the user *may* have file/directory access rights given by GRANT AUTH user. - ENROLL PUBLIC. Any user can *connect* to the filepool server. The connecting user does NOT have their own space and *may* have file/directory access rights. - GRANT AUTH ... TO PUBLIC. Grants access rights to all users of the filepool. - GRANT AUTH ... TO user. Grants access rights to a specific user of the filepool. It does not matter whether their use of the filepool was allowed by ENROLL user or ENROLL PUBLIC. So, when you login anonymously via FTP or NFS, you are assigned the user ID ANONYMOU. If ANONYMOU is not explicitly enrolled in VMSYSA then the SFS server will check to see if you have done ENROLL PUBLIC. If not, access is denied. If so, then file/directory access will be via GRANT AUTH TO ANONYMOU. If ANONYMOU does not have access, then the SFS server will check to see if PUBLIC has access. So, either ENROLL ANONYMOU or ENROLL PUBLIC. Which you do depends on the sensitivity of the data that GRANT AUTH TO PUBLIC would give. Put another way, you may have multiple communities that login to a VM system and a particular SFS server has sensitive data. I will explicitly enroll all members of one community in the filepool, but will not ENROLL PUBLIC. That way I can use GRANT AUTH TO PUBLIC and only reveal information to the one community. Alan Altmark z/VM Development IBM Endicott _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: FTP z/VM to z/VM
Hi, David. In addition to specifying type i you might need to specify mode b as well. Good luck. DJ On Wed, 4 Nov 2009 10:51:13 -0800, David Booher david.boo...@quest.com wrote: Hi all, I have a little knowledge problem here. I'm trying to FTP in binary a fixed reclen 80 file to another z/VM host system. Here's part of the log: bin TYPE i 200 Representation type is IMAGE. Command: quote site fix 80 site fix 80 200 Site command was accepted. Command: put l10200.vmarc SITE VARrecfm= This is supplied by z/VM 200 Site command was accepted. PORT 10,4,23,2,87,217 200 Port request OK. STOR l10200.vmarc As soon as I enter the put command, a SITE VARrecfm command is supplie d by z/VM and the file ends up as VARIABLE on the remote side. I'm trying to FTP binary and get FIXED on both sides. If I download to a PC and then F TP back up to the remote z/VM, I don't see this problem because my Windows F TP doesn't invent a SITE VARrecfm command. Your suggestions/input would be appreciated. Thanks, Dave Booher
Re: FTP z/VM to z/VM
You must issue a SENDSITE command prior to the PUT. This will toggle the default setting of automatically sending the SITE VARrecfm command prior to the PUT. -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of David Booher Sent: Wednesday, November 04, 2009 1:51 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP z/VM to z/VM Hi all, I have a little knowledge problem here. I'm trying to FTP in binary a fixed reclen 80 file to another z/VM host system. Here's part of the log: bin TYPE i 200 Representation type is IMAGE. Command: quote site fix 80 site fix 80 200 Site command was accepted. Command: put l10200.vmarc SITE VARrecfm= This is supplied by z/VM 200 Site command was accepted. PORT 10,4,23,2,87,217 200 Port request OK. STOR l10200.vmarc As soon as I enter the put command, a SITE VARrecfm command is supplied by z/VM and the file ends up as VARIABLE on the remote side. I'm trying to FTP binary and get FIXED on both sides. If I download to a PC and then FTP back up to the remote z/VM, I don't see this problem because my Windows FTP doesn't invent a SITE VARrecfm command. Your suggestions/input would be appreciated. Thanks, Dave Booher
Re: FTP z/VM to z/VM
Dave, Use 'TYPE E' and 'MODE B' rather than 'bin' and 'quote site fix 80' Regards, Miguel Delapaz z/VM Development The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 11/04/2009 10:51:13 AM: Hi all, I have a little knowledge problem here. I'm trying to FTP in binary a fixed reclen 80 file to another z/VM host system. Here's part of the log: bin TYPE i 200 Representation type is IMAGE. Command: quote site fix 80 site fix 80 200 Site command was accepted. Command: put l10200.vmarc SITE VARrecfm= This is supplied by z/VM 200 Site command was accepted. PORT 10,4,23,2,87,217 200 Port request OK. STOR l10200.vmarc As soon as I enter the put command, a SITE VARrecfm command is supplied by z/VM and the file ends up as VARIABLE on the remote side. I'm trying to FTP binary and get FIXED on both sides. If I download to a PC and then FTP back up to the remote z/VM, I don't see this problem because my Windows FTP doesn't invent a SITE VARrecfm command. Your suggestions/input would be appreciated. Thanks, Dave Booher
Re: FTP z/VM to z/VM
You need to enter the SENDSITE command. This prevents the defaults from taking over. David Wakser -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of David Booher Sent: Wednesday, November 04, 2009 1:51 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP z/VM to z/VM Hi all, I have a little knowledge problem here. I'm trying to FTP in binary a fixed reclen 80 file to another z/VM host system. Here's part of the log: bin TYPE i 200 Representation type is IMAGE. Command: quote site fix 80 site fix 80 200 Site command was accepted. Command: put l10200.vmarc SITE VARrecfm= This is supplied by z/VM 200 Site command was accepted. PORT 10,4,23,2,87,217 200 Port request OK. STOR l10200.vmarc As soon as I enter the put command, a SITE VARrecfm command is supplied by z/VM and the file ends up as VARIABLE on the remote side. I'm trying to FTP binary and get FIXED on both sides. If I download to a PC and then FTP back up to the remote z/VM, I don't see this problem because my Windows FTP doesn't invent a SITE VARrecfm command. Your suggestions/input would be appreciated. Thanks, Dave Booher Confidentiality Note: This e-mail, including any attachment to it, may contain material that is confidential, proprietary, privileged and/or Protected Health Information, within the meaning of the regulations under the Health Insurance Portability Accountability Act as amended. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this e-mail, including any attachment to it, is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you.
Re: FTP z/VM to z/VM
That works perfectly. Thanks! From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Miguel Delapaz Sent: Wednesday, November 04, 2009 1:03 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP z/VM to z/VM Dave, Use 'TYPE E' and 'MODE B' rather than 'bin' and 'quote site fix 80' Regards, Miguel Delapaz z/VM Development
Re: FTP Translation
Thanks all for trying to help - now, it is working as desired using the same commands and files as yesterday. There were some automatic updates from the PC wizards (very much like the one from Oz, if you ask me), and now the quotes survive the FTP. Many other things are now working better, too, in some cases working for the first time. I guess that without whatever magic was done under the covers, I never would have gotten it right. At least now I know about QUOTE SITE (that almost seems redundant). Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Monday, August 31, 2009 6:14 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Translation On Monday, 08/31/2009 at 06:14 EDT, Schuh, Richard rsc...@visa.com wrote: I am trying to FTP a file that is Wnidoze ASCII to VM without having it translated to EBCDIC. In this case, the PC is the client and VM, the host. I have tried: BIN - it gets translated TYPE A - it gets translated SITE AUTOTRANS OFF - I get a message saying that the SITE command is invalid. The same applies to using an abbreviation for AUTOTRANS. MODE B - invalid command SITE MODE B (out of frustration) - invalid command Rename the file, changing the extension from .CSV to .BIN - it almost works after a PIPE fine | deblock string x0d0a | file On Windows XP, the bin command results in TYPE I transfers and get/put work fine, however the AUTOTRANS on the server is likely messing you up. So quote site autotrans off. AUTOTRANS was invented to solve problems for some some stupid web browsers that ASSUME a binary FTP results in ASCII data. I mean, isn't all data natively stored in ASCII? (growl) The files I am transferring are CSV files. The values are contained in double quotes with comma separators. Null values are indicated by two double quotes. There is another problem - any of the FTPs that transfer data strip the quotes surrounding the data values - not good for values containing a comma. Not good for something expecting a pair of quotes as a null value indicator. FTP, binary or text, does not strip out double quotes. Something else is doing that. Note that in a .csv file, text fields that do not contain commas or double quotes will likely not be quoted. (I can't remember the exact rules.) Double-check the source file. A null value should be represented by nothing. No null, no space, no quotes, no nothing. You will see consecutive commas (unquoted). Example: If there are 4 fields and all are null, you would see: ,,,crlf Be sure to upload into a V-format file. My experiments were performed using Excel. Alan Altmark z/VM Development IBM Endicott
Re: FTP Translation
From: Schuh, Richard [mailto:rsc...@visa.com] Subject: FTP Translation I am trying to FTP a file that is Wnidoze ASCII to VM without having it translated to EBCDIC. In this case, the PC is the client and VM, the host. I have tried: * SITE AUTOTRANS OFF - I get a message saying that the SITE command is invalid. The same applies to using an abbreviation for AUTOTRANS. I would have expected the BIN command to give you fully untranslated results, so I don't have an answer to your actual question, ...but. To use the SITE command with the Windows built-in FTP client, you must prefix it with QUOTE (QUOTE SITE AUTOTRANS OFF). This is the mechanism they give you to send arbitrary commands to the server. ok r.
Re: FTP Translation
You didn't mention what FTP client software you're using. Some make it easier than others, but as you know/suspect - a binary transfer is what you need. Perhaps the FTP client you are using is at fault. There are a number of FTP clients you could try, which a Google search will readily turn up. I've used several over the years, some of them are free. At the moment I'm using the one that comes with the Hummingbird emulator product. Brian Nielsen On Mon, 31 Aug 2009 15:08:14 -0700, Schuh, Richard rsc...@visa.com wrot e: I am trying to FTP a file that is Wnidoze ASCII to VM without having it translated to EBCDIC. In this case, the PC is the client and VM, the host . I have tried: * BIN - it gets translated * TYPE A - it gets translated * SITE AUTOTRANS OFF - I get a message saying that the SITE comman d is invalid. The same applies to using an abbreviation for AUTOTRANS. * MODE B - invalid command * SITE MODE B (out of frustration) - invalid command * Rename the file, changing the extension from .CSV to .BIN - it almost works after a PIPE fine | deblock string x0d0a | file The files I am transferring are CSV files. The values are contained in double quotes with comma separators. Null values are indicated by two double quotes. There is another problem - any of the FTPs that transfer data strip the quotes surrounding the data values - not good for values containing a comma. Not good for something expecting a pair of quotes as a null value indicator. What, if anything, can I do to resolve this? Regards, Richard Schuh
Re: FTP Translation
Now that is intuitive. An interesting effect is that using that method, following it with a pipe file | deblock string x0d0a newfile, the new file still in asci has more bytes than one of the files that had the quotes stripped out. When I try pipe newfile | xlate a2e | file3, there are no quotes in file3 - it matches the other files without the quotes. Is there some code page other than the defaults for the A2E translation that I need to use? How and why does the translation strip the quotes? Where in Boeing's world do you live? I started my career at Boeing, Wichita Division back in '63. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Stricklin, Raymond J Sent: Monday, August 31, 2009 3:30 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP Translation From: Schuh, Richard [mailto:rsc...@visa.com] Subject: FTP Translation I am trying to FTP a file that is Wnidoze ASCII to VM without having it translated to EBCDIC. In this case, the PC is the client and VM, the host. I have tried: * SITE AUTOTRANS OFF - I get a message saying that the SITE command is invalid. The same applies to using an abbreviation for AUTOTRANS. I would have expected the BIN command to give you fully untranslated results, so I don't have an answer to your actual question, ...but. To use the SITE command with the Windows built-in FTP client, you must prefix it with QUOTE (QUOTE SITE AUTOTRANS OFF). This is the mechanism they give you to send arbitrary commands to the server. ok r.
Re: FTP Translation
On Monday, 08/31/2009 at 06:14 EDT, Schuh, Richard rsc...@visa.com wrote: I am trying to FTP a file that is Wnidoze ASCII to VM without having it translated to EBCDIC. In this case, the PC is the client and VM, the host. I have tried: BIN - it gets translated TYPE A - it gets translated SITE AUTOTRANS OFF - I get a message saying that the SITE command is invalid. The same applies to using an abbreviation for AUTOTRANS. MODE B - invalid command SITE MODE B (out of frustration) - invalid command Rename the file, changing the extension from .CSV to .BIN - it almost works after a PIPE fine | deblock string x0d0a | file On Windows XP, the bin command results in TYPE I transfers and get/put work fine, however the AUTOTRANS on the server is likely messing you up. So quote site autotrans off. AUTOTRANS was invented to solve problems for some some stupid web browsers that ASSUME a binary FTP results in ASCII data. I mean, isn't all data natively stored in ASCII? (growl) The files I am transferring are CSV files. The values are contained in double quotes with comma separators. Null values are indicated by two double quotes. There is another problem - any of the FTPs that transfer data strip the quotes surrounding the data values - not good for values containing a comma. Not good for something expecting a pair of quotes as a null value indicator. FTP, binary or text, does not strip out double quotes. Something else is doing that. Note that in a .csv file, text fields that do not contain commas or double quotes will likely not be quoted. (I can't remember the exact rules.) Double-check the source file. A null value should be represented by nothing. No null, no space, no quotes, no nothing. You will see consecutive commas (unquoted). Example: If there are 4 fields and all are null, you would see: ,,,crlf Be sure to upload into a V-format file. My experiments were performed using Excel. Alan Altmark z/VM Development IBM Endicott
Re: FTP of CMS file as attachment - PJBR
Hi Ed, No problem, we are in process of migrating z/VM 4.4 into z/VM 5.4 Thank you very much, BRGDS, José R. Barón Soporte e Implantación e-TICA y ARIES CALCULO S.A. Pza. de las Cortes, 2 28014 Madrid Tel. 91 330 86 44 / E-mail: jba...@calculo-sa.es P No imprima este e-mail si no es realmente necesario. Do not print this e-mail unless really necessary. -Mensaje original- De: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] En nombre de Edward M Martin Enviado el: miércoles, 17 de junio de 2009 17:25 Para: IBMVM@LISTSERV.UARK.EDU Asunto: Re: FTP of CMS file as attachment - PJBR Hello Jose, z/VM 4.3 did not support the attachment parameter. I am not sure when it was introduced. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of jose raul baron Sent: Wednesday, June 17, 2009 9:59 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP of CMS file as attachment - PJBR Tom, Bill, Marci, Mike, David, Jim, Ed, THANK YOU VERY MUCH FOR YOUR HELP. Now, to your questions: - Yes, I made a mistake, I meant e-mail but for some reason I wrote FTP instead. I'm Sorry for my lapsus. - PJBR means Produccion - Jose Baron Rodriguez. It's just an eyecatcher I tag my posts with so I can locate any reply I get more easily among hundreds of e-mails. Just a trick ;-) Now, this is what I have tested and my results with your great suggestions: - I have used PROFILE EXEC for a plain text file and a z/VM .PDF manual (no better item :-) for a binary file to play with. - First I tried..: sendfile ZVM43 PDF A to jbaron at calculo-sa.es (mime BINARY -- This works fine. - However I just couldn't get a satisfactory sendfile ascii-attachment solution for PROFILE EXEC. It sent me either the file as the e-mail text itself or as two .dat files a bit unconfortable to work with. I tried...: (1) sendfile profile exec a to jbaron at calculo-sa.es (SMTP autosubj uftsync and...: (2) sendfile profile exec a to jbaron at calculo-sa.es (MIME autosubj uftsync variations but since there is no remote UTF server it switches to SMTP, which makes (1) and (2) identical. - So I ended up installing MAILIT VMARC and it works fine with minimum variations: mailit to(jbaron at calculo-sa.es) subject(this is it) attach(profile exec) mailit to(jbaron at calculo-sa.es) subject(this is it) attach(zvm43 pdf) This solution has been the best one I've found to solve the two cases. Again, THANKS A LOT FOR YOUR HELP ! BRGDS, Jose Raul Baron Dpto. Sistemas CALCULO S.A. Pza. de las Cortes, 2 28014 Madrid Tel. 91 330 86 44 / E-mail: jba...@calculo-sa.es P No imprima este e-mail si no es realmente necesario. Do not print this e-mail unless really necessary.
Re: FTP of CMS file as attachment - PJBR
Tom, Bill, Marci, Mike, David, Jim, Ed, THANK YOU VERY MUCH FOR YOUR HELP. Now, to your questions: - Yes, I made a mistake, I meant e-mail but for some reason I wrote FTP instead. I'm Sorry for my lapsus. - PJBR means Produccion - Jose Baron Rodriguez. It's just an eyecatcher I tag my posts with so I can locate any reply I get more easily among hundreds of e-mails. Just a trick ;-) Now, this is what I have tested and my results with your great suggestions: - I have used PROFILE EXEC for a plain text file and a z/VM .PDF manual (no better item :-) for a binary file to play with. - First I tried..: sendfile ZVM43 PDF A to jbaron at calculo-sa.es (mime BINARY -- This works fine. - However I just couldn't get a satisfactory sendfile ascii-attachment solution for PROFILE EXEC. It sent me either the file as the e-mail text itself or as two .dat files a bit unconfortable to work with. I tried...: (1) sendfile profile exec a to jbaron at calculo-sa.es (SMTP autosubj uftsync and...: (2) sendfile profile exec a to jbaron at calculo-sa.es (MIME autosubj uftsync variations but since there is no remote UTF server it switches to SMTP, which makes (1) and (2) identical. - So I ended up installing MAILIT VMARC and it works fine with minimum variations: mailit to(jbaron at calculo-sa.es) subject(this is it) attach(profile exec) mailit to(jbaron at calculo-sa.es) subject(this is it) attach(zvm43 pdf) This solution has been the best one I've found to solve the two cases. Again, THANKS A LOT FOR YOUR HELP ! BRGDS, Jose Raul Baron Dpto. Sistemas CALCULO S.A. Pza. de las Cortes, 2 28014 Madrid Tel. 91 330 86 44 / E-mail: jba...@calculo-sa.es P No imprima este e-mail si no es realmente necesario. Do not print this e-mail unless really necessary.
Re: FTP of CMS file as attachment - PJBR
Hello Jose, z/VM 4.3 did not support the attachment parameter. I am not sure when it was introduced. Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of jose raul baron Sent: Wednesday, June 17, 2009 9:59 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP of CMS file as attachment - PJBR Tom, Bill, Marci, Mike, David, Jim, Ed, THANK YOU VERY MUCH FOR YOUR HELP. Now, to your questions: - Yes, I made a mistake, I meant e-mail but for some reason I wrote FTP instead. I'm Sorry for my lapsus. - PJBR means Produccion - Jose Baron Rodriguez. It's just an eyecatcher I tag my posts with so I can locate any reply I get more easily among hundreds of e-mails. Just a trick ;-) Now, this is what I have tested and my results with your great suggestions: - I have used PROFILE EXEC for a plain text file and a z/VM .PDF manual (no better item :-) for a binary file to play with. - First I tried..: sendfile ZVM43 PDF A to jbaron at calculo-sa.es (mime BINARY -- This works fine. - However I just couldn't get a satisfactory sendfile ascii-attachment solution for PROFILE EXEC. It sent me either the file as the e-mail text itself or as two .dat files a bit unconfortable to work with. I tried...: (1) sendfile profile exec a to jbaron at calculo-sa.es (SMTP autosubj uftsync and...: (2) sendfile profile exec a to jbaron at calculo-sa.es (MIME autosubj uftsync variations but since there is no remote UTF server it switches to SMTP, which makes (1) and (2) identical. - So I ended up installing MAILIT VMARC and it works fine with minimum variations: mailit to(jbaron at calculo-sa.es) subject(this is it) attach(profile exec) mailit to(jbaron at calculo-sa.es) subject(this is it) attach(zvm43 pdf) This solution has been the best one I've found to solve the two cases. Again, THANKS A LOT FOR YOUR HELP ! BRGDS, Jose Raul Baron Dpto. Sistemas CALCULO S.A. Pza. de las Cortes, 2 28014 Madrid Tel. 91 330 86 44 / E-mail: jba...@calculo-sa.es P No imprima este e-mail si no es realmente necesario. Do not print this e-mail unless really necessary.
Re: FTP of CMS file as attachment - PJBR
For email not FTP, use the MAILIT package from the IBM Downloads page. It can do binary files like PDFs too. /Tom Kern On Tue, 16 Jun 2009 12:25:08 +0200, jose raul baron jba...@calculo-sa.es wrote: Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve th is but haven't succeeded yet. All we get is the file as text, not as attachment. Any help will be very welcome. Thanks in advance, Raul Barón Dpto. Sistemas CALCULO S.A. E-mail: jba...@calculo-sa.es
Re: FTP of CMS file as attachment - PJBR
Your subject line says FTP but your question says E-MAIL ? E-Mail can be done 2 ways from CMS get the excellent product MAILBOOK from SineNomine or the very fine product MAILIT from the IBM VM download page both can send CMS files as attachments good luck Bill Munson Sr. z/VM Systems Programmer Brown Brothers Harriman CO. 525 Washington Blvd. Jersey City, NJ 07310 201-418-7588 President MVMUA http://www2.marist.edu/~mvmua/ jose raul baron jba...@calculo-sa.es Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 06/16/2009 06:25 AM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject FTP of CMS file as attachment - PJBR Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Any help will be very welcome. Thanks in advance, Raul Barón Dpto. Sistemas CALCULO S.A. E-mail: jba...@calculo-sa.es *** IMPORTANT NOTE* The opinions expressed in this message and/or any attachments are those of the author and not necessarily those of Brown Brothers Harriman Co., its subsidiaries and affiliates (BBH). There is no guarantee that this message is either private or confidential, and it may have been altered by unauthorized sources without your or our knowledge. Nothing in the message is capable or intended to create any legally binding obligations on either party and it is not intended to provide legal advice. BBH accepts no responsibility for loss or damage from its use, including damage from virus.
Re: FTP of CMS file as attachment - PJBR
Or you can use SENDFILE from CMS to send an attachment via the MIME option: sendfile cms file fm to use...@xx.xx.com (mime ascii-attach or sendfile cmd file fm to use...@xx.xx.com (mime binary-attach depending on if it is an ASCII or BINARY file. Marci Beach From: jose raul baron jba...@calculo-sa.es To: IBMVM@LISTSERV.UARK.EDU Date: 06/16/2009 10:28 AM Subject: FTP of CMS file as attachment - PJBR Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Any help will be very welcome. Thanks in advance, Raul Barón Dpto. Sistemas CALCULO S.A. E-mail: jba...@calculo-sa.es
Re: FTP of CMS file as attachment - PJBR
Have you tried: SENDFILE fn ft fm TO addressee (SMTP MIME And... what is the - PJBR appended to the Subject: of your posts? Mike Walter Hewitt Associates Any opinions expressed herein are mine alone and do not necessarily represent the opinions or policies of Hewitt Associates. Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Any help will be very welcome. Thanks in advance, Raul Barón Dpto. Sistemas CALCULO S.A. E-mail: jba...@calculo-sa.es The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: FTP of CMS file as attachment - PJBR
Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Two ways you could do it : Use XMITIP or (for a more full-function solution) use MAILBOOK.
Re: FTP of CMS file as attachment - PJBR
David - has someone ported XMITIP to CMS ? I have to admit that I've not tried it there but it is written in REXX although the file I/O is the z/OS EXECIO. Lionel B. Dyck, z/Linux Virtualization Specialist IBM Global Services - Kaiser Permanente Team Linux on System z Service Delivery Team 925-926-5332 (8-473-5332) | E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle From: David Boyes dbo...@sinenomine.net To: IBMVM@LISTSERV.UARK.EDU Date: 06/16/2009 08:56 AM Subject:Re: FTP of CMS file as attachment - PJBR Sent by:The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Two ways you could do it : Use XMITIP or (for a more full-function solution) use MAILBOOK.
Re: FTP of CMS file as attachment - PJBR
The early version I have (really REALLY old) seems to run OK in linemode. I don't know if the modern version would. Certainly all the ISPF goodies in the modern one don't work. I have to admit that I've not tried it there but it is written in REXX although the file I/O is the z/OS EXECIO.
Re: FTP of CMS file as attachment - PJBR
Look at SENDFILE. There are some options that may work for you. Jim Hughes 603-271-5586 It is fun to do the impossible. ==-Original Message- ==From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On ==Behalf Of jose raul baron ==Sent: Tuesday, June 16, 2009 6:25 AM ==To: IBMVM@LISTSERV.UARK.EDU ==Subject: FTP of CMS file as attachment - PJBR == ==Hi list, I would like to ask if there's a way to e-mail a CMS file as an ==attachment and not as the text itself. We have been trying to achieve ==this ==but haven't succeeded yet. All we get is the file as text, not as ==attachment. == ==Any help will be very welcome. ==Thanks in advance, == == ==Raul Barón ==Dpto. Sistemas ==CALCULO S.A. ==E-mail: jba...@calculo-sa.es
Re: FTP of CMS file as attachment - PJBR
Marci, thanks for that tidbit of info. I could have used this in the past. Now, I've got a solution looking for a problem. Steve From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Marci Beach Sent: Tuesday, June 16, 2009 10:38 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP of CMS file as attachment - PJBR Or you can use SENDFILE from CMS to send an attachment via the MIME option: sendfile cms file fm to use...@xx.xx.com (mime ascii-attach or sendfile cmd file fm to use...@xx.xx.com (mime binary-attach depending on if it is an ASCII or BINARY file. Marci Beach From: jose raul baron jba...@calculo-sa.es To: IBMVM@LISTSERV.UARK.EDU Date: 06/16/2009 10:28 AM Subject: FTP of CMS file as attachment - PJBR Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Any help will be very welcome. Thanks in advance, Raul Barón Dpto. Sistemas CALCULO S.A. E-mail: jba...@calculo-sa.es
Re: FTP of CMS file as attachment - PJBR
Interesting - I may have to try it. Lionel B. Dyck, z/Linux Virtualization Specialist IBM Global Services - Kaiser Permanente Team Linux on System z Service Delivery Team 925-926-5332 (8-473-5332) | E-Mail: ld...@us.ibm.com AIM: lbdyck | Yahoo IM: lbdyck I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle From: David Boyes dbo...@sinenomine.net To: IBMVM@LISTSERV.UARK.EDU Date: 06/16/2009 09:10 AM Subject:Re: FTP of CMS file as attachment - PJBR Sent by:The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU The early version I have (really REALLY old) seems to run OK in linemode. I don’t know if the modern version would. Certainly all the ISPF goodies in the modern one don’t work. I have to admit that I've not tried it there but it is written in REXX although the file I/O is the z/OS EXECIO.
Re: FTP of CMS file as attachment - PJBR
Hello Raul Use the SENDFILE with ( MIME ASCII-ATTACH Sendfile fn ft fm u...@name.com ( mime ascii-attach subject 'this is a file sent as an attachment' Z/VM 5.3 Ed Martin Aultman Health Foundation 330-363-5050 ext 35050 -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of jose raul baron Sent: Tuesday, June 16, 2009 6:25 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP of CMS file as attachment - PJBR Hi list, I would like to ask if there's a way to e-mail a CMS file as an attachment and not as the text itself. We have been trying to achieve this but haven't succeeded yet. All we get is the file as text, not as attachment. Any help will be very welcome. Thanks in advance, Raul Barón Dpto. Sistemas CALCULO S.A. E-mail: jba...@calculo-sa.es
Re: FTP packed files
Are you specifying Fixed 1024 in your FTP? Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 9:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP packed files I'm ftping files from my 1st level system to 2nd level vm. When I pack = them with copyfile, send them binary, unpack them with copyfile CMS tells= me they are not in 'packed' format. What do I need to do to be able to = send them packed. Sending them w/o packing works fine, I want to figure = out what I'm not doing. Thanks.
Re: FTP packed files
Is the packed file Fixed 1024 bytes per block on the receiving and sending end? If not, a little pipe procedure would fix it quite easily. Jim Hughes 603-271-5586 It is fun to do the impossible. ==-Original Message- ==From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On ==Behalf Of Steve Mitchell ==Sent: Tuesday, May 12, 2009 12:29 PM ==To: IBMVM@LISTSERV.UARK.EDU ==Subject: FTP packed files == ==I'm ftping files from my 1st level system to 2nd level vm. When I pack = == ==them with copyfile, send them binary, unpack them with copyfile CMS ==tells= == ==me they are not in 'packed' format. What do I need to do to be able to = == ==send them packed. Sending them w/o packing works fine, I want to figure === == ==out what I'm not doing. == ==Thanks.
Re: FTP packed files
I'm not. Apparently I'm in need of some ftp education. How is that accomplished? Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 11:39 AM Subject:Re: FTP packed files Are you specifying Fixed 1024 in your FTP? Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 9:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP packed files I'm ftping files from my 1st level system to 2nd level vm. When I pack = them with copyfile, send them binary, unpack them with copyfile CMS tells= me they are not in 'packed' format. What do I need to do to be able to = send them packed. Sending them w/o packing works fine, I want to figure = out what I'm not doing. Thanks. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Re: FTP packed files
Enter the BIN command prior to the PUT or GET: BIN F 1024 Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 10:55 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files I'm not. Apparently I'm in need of some ftp education. How is that accomplished? Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 11:39 AM Subject:Re: FTP packed files Are you specifying Fixed 1024 in your FTP? Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 9:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP packed files I'm ftping files from my 1st level system to 2nd level vm. When I pack = them with copyfile, send them binary, unpack them with copyfile CMS tells= me they are not in 'packed' format. What do I need to do to be able to = send them packed. Sending them w/o packing works fine, I want to figure = out what I'm not doing. Thanks. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Re: FTP packed files
I'm sure you aren't surprised to here that worked perfectly. THANKS! Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 01:16 PM Subject:Re: FTP packed files Enter the BIN command prior to the PUT or GET: BIN F 1024 Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 10:55 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files I'm not. Apparently I'm in need of some ftp education. How is that accomplished? Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 11:39 AM Subject:Re: FTP packed files Are you specifying Fixed 1024 in your FTP? Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 9:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP packed files I'm ftping files from my 1st level system to 2nd level vm. When I pack = them with copyfile, send them binary, unpack them with copyfile CMS tells= me they are not in 'packed' format. What do I need to do to be able to = send them packed. Sending them w/o packing works fine, I want to figure = out what I'm not doing. Thanks. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Re: FTP packed files
Glad to have helped. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 11:28 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files I'm sure you aren't surprised to here that worked perfectly. THANKS! Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 01:16 PM Subject:Re: FTP packed files Enter the BIN command prior to the PUT or GET: BIN F 1024 Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 10:55 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files I'm not. Apparently I'm in need of some ftp education. How is that accomplished? Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 11:39 AM Subject:Re: FTP packed files Are you specifying Fixed 1024 in your FTP? Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 9:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP packed files I'm ftping files from my 1st level system to 2nd level vm. When I pack = them with copyfile, send them binary, unpack them with copyfile CMS tells= me they are not in 'packed' format. What do I need to do to be able to = send them packed. Sending them w/o packing works fine, I want to figure = out what I'm not doing. Thanks. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Re: FTP packed files
You'd even better create a VMARC file, this way the passage through FTP will not reset the file's dates to the transmission moment: VMARC PACK infn inft infm SOME VMARC A VMARC PACK infn2 inft2 infm2 SOME VMARC A (APPEND Transfer that as BIN F 80, and run VMRAC UNPK Or, even easier, but needing a bit more VM knowledge: - make your secondlevel system LINK to the minidisk LINK someuser somemdisk 0001 RR - in the 2nd level ATTACH 0001 * 0001 R/O ACCESS 0001 Z COPYFILE xx xx Z = = fm (OLDDATE The CPHOST package on the VM Download library makes it easy to issue the CP LINKs at first level from your CMS user in the secondlevel system (often MAINT) 2009/5/12 Schuh, Richard rsc...@visa.com: Glad to have helped. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 11:28 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files I'm sure you aren't surprised to here that worked perfectly. THANKS! Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 01:16 PM Subject:Re: FTP packed files Enter the BIN command prior to the PUT or GET: BIN F 1024 Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 10:55 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files I'm not. Apparently I'm in need of some ftp education. How is that accomplished? Steve Mitchell Sr Systems Software Specialist Blue Cross Blue Shield of Kansas (785) 291-8885 'There are no degrees of Honesty-you're either Honest or you're not! From: Schuh, Richard rsc...@visa.com To: IBMVM@LISTSERV.UARK.EDU Date: 05/12/2009 11:39 AM Subject:Re: FTP packed files Are you specifying Fixed 1024 in your FTP? Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Steve Mitchell Sent: Tuesday, May 12, 2009 9:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP packed files I'm ftping files from my 1st level system to 2nd level vm. When I pack = them with copyfile, send them binary, unpack them with copyfile CMS tells= me they are not in 'packed' format. What do I need to do to be able to = send them packed. Sending them w/o packing works fine, I want to figure = out what I'm not doing. Thanks. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message. CONFIDENTIALITY NOTICE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please contact the sender by reply email and destroy all copies of the original message. -- Kris Buelens, IBM Belgium, VM customer support
Re: FTP packed files
On Tue, May 12, 2009 at 8:28 PM, Steve Mitchell steve.mitch...@bcbsks.com wrote: I'm sure you aren't surprised to here that worked perfectly. When doing FTP between MVS and VM systems, MODE B # TYPE E does magic stuff. -Rob
Re: FTP packed files
The original question had to do with sending a packed file from 1st level to 2nd level VM systems. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Rob van der Heij Sent: Tuesday, May 12, 2009 1:31 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP packed files On Tue, May 12, 2009 at 8:28 PM, Steve Mitchell steve.mitch...@bcbsks.com wrote: I'm sure you aren't surprised to here that worked perfectly. When doing FTP between MVS and VM systems, MODE B # TYPE E does magic stuff. -Rob
Re: FTP packed files
On Tue, May 12, 2009 at 10:44 PM, Schuh, Richard rsc...@visa.com wrote: The original question had to do with sending a packed file from 1st level to 2nd level VM systems. Right, which is why I offered that option (assuming it was obvious it works between 2 VM systems as well) When dealing with 2nd level systems you often don't have the space and CPU cycles to pack the data just to protect the record layout. And if you configured it such, an FTP to the virtual reader is a nice option as well. -Rob
Re: FTP Server very slow
In looking at many cases like this, it was NEVER the network or TCPIP, but something else on z/VM, sometimes Escon channels, sometime device contention, sometimes cache in the storage controller, sometimes CPU contention. I would recommend a good z/VM performance monitor Salecky, Zenko J wrote: I have copied netstat pool output from both the client and server side. The valus pretty much stay the same throughout the file transfer time. I also looked at the TCPIP console and di not see any messages relating to buffer shortages. ftp Server side netstat pool VM TCP/IP Netstat Level 540 TCP/IP Server Name: TCPIP TCPIP Free pool status: ObjectNo. allocNo. freeLo-water Permit size === === ACB102410161009 102 CCB 154 143 14015 Dat buf 160 148 14616 Sm dat buf 12 10 7 1 Tiny dat buf 10 10 9 1 Env 750 750 74275 Lrg env 50 49 42 5 RCB 51 51 51 5 SCB 264 257 25726 SKCB256 256 25425 TCB 256 251 25125 UCB 102 102 10010 Add Xlate 151315081502 5 NCB150115011501 5 IP Route609 607 607 6 IPv6 Route 605 605 605 6 Segment ACK512051205112 512 FPSP total locked pages: 334, Unused locked pages: 55 FPSP allocation threshold: 23984, Low-water mark: 0 TCPIP machine size: 128M, Pools: 5013K, Avail: 105040K, Max block: 85584K Ready; T=0.01/0.01 08:38:33 ftp client side netstat pool VM TCP/IP Netstat Level 540 TCP/IP Server Name: TCPIP TCPIP Free pool status: ObjectNo. allocNo. freeLo-water Permit size === === ACB102410161003 102 CCB 154 136 12515 Dat buf 160 154 14616 Sm dat buf 12 9 7 1 Tiny dat buf 10 9 1 1 Env 750 750 74175 Lrg env 50 49 42 5 RCB 51 51 43 5 SCB 264 256 24826 SKCB256 255 24525 TCB 256 249 24025 UCB 102 102 9210 Add Xlate 151315081508 5 NCB150115011501 5 IP Route609 607 607 6 IPv6 Route 605 605 605 6 Segment ACK512051205112 512 FPSP total locked pages: 344, Unused locked pages: 65 FPSP allocation threshold: 2220, Low-water mark: 0 TCPIP machine size: 32M, Pools: 5013K, Avail: 8304K, Max block: 8296K Ready; T=0.01/0.01 08:42:32 and transfer is still very slow 10639661 bytes transferred. 10796013 bytes transferred. 10952702 bytes transferred. 250 Transfer completed successfully. 11030147 bytes transferred in 655.865 seconds. Transfer rate 16.82 Kbytes/sec. Command: If I
Re: FTP Server very slow
I have copied netstat pool output from both the client and server side. The valus pretty much stay the same throughout the file transfer time. I also looked at the TCPIP console and di not see any messages relating to buffer shortages. ftp Server side netstat pool VM TCP/IP Netstat Level 540 TCP/IP Server Name: TCPIP TCPIP Free pool status: ObjectNo. allocNo. freeLo-water Permit size === == = ACB102410161009 102 CCB 154 143 14015 Dat buf 160 148 14616 Sm dat buf 12 10 7 1 Tiny dat buf 10 10 9 1 Env 750 750 74275 Lrg env 50 49 42 5 RCB 51 51 51 5 SCB 264 257 25726 SKCB256 256 25425 TCB 256 251 25125 UCB 102 102 10010 Add Xlate 151315081502 5 NCB150115011501 5 IP Route609 607 607 6 IPv6 Route 605 605 605 6 Segment ACK512051205112 512 FPSP total locked pages: 334, Unused locked pages: 55 FPSP allocation threshold: 23984, Low-water mark: 0 TCPIP machine size: 128M, Pools: 5013K, Avail: 105040K, Max block: 85584K Ready; T=0.01/0.01 08:38:33 ftp client side netstat pool VM TCP/IP Netstat Level 540 TCP/IP Server Name: TCPIP TCPIP Free pool status: ObjectNo. allocNo. freeLo-water Permit size === == = ACB102410161003 102 CCB 154 136 12515 Dat buf 160 154 14616 Sm dat buf 12 9 7 1 Tiny dat buf 10 9 1 1 Env 750 750 74175 Lrg env 50 49 42 5 RCB 51 51 43 5 SCB 264 256 24826 SKCB256 255 24525 TCB 256 249 24025 UCB 102 102 9210 Add Xlate 151315081508 5 NCB150115011501 5 IP Route609 607 607 6 IPv6 Route 605 605 605 6 Segment ACK512051205112 512 FPSP total locked pages: 344, Unused locked pages: 65 FPSP allocation threshold: 2220, Low-water mark: 0 TCPIP machine size: 32M, Pools: 5013K, Avail: 8304K, Max block: 8296K Ready; T=0.01/0.01 08:42:32 and transfer is still very slow 10639661 bytes transferred. 10796013 bytes transferred. 10952702 bytes transferred. 250 Transfer completed successfully. 11030147 bytes transferred in 655.865 seconds. Transfer rate 16.82 Kbytes/sec. Command: If I transfer from same FTP client to a z/OS FTP Server transfer takes about 9 seconds. -Zenko
Re: FTP Server very slow
On Friday, 04/17/2009 at 09:59 EDT, Salecky, Zenko J salec...@aetna.com wrote: z/VM is at level 5.4. Connectivity is through vswitch layer2 and an OSA- Express3 10 GbE adapter. When using FTP to move a file between two VMs I am getting transfer rates of 16.0 - 17.0 Kbytes/sec. I ran a trace on the VM where the FTPSERV is running and see the following messages once the data session is established DTCREQ034I DoSendB not signalling TcpDown for conn 1002 The stack has previously scheduled an outbound TCP segment and it isn't necessary to schedule the current segment. DTCPRI181I PrevFrustrated: Frustrated TCB queue DTCPRI182I NextFrustrated: Frustrated TCB queue DTCPRI199I Sender frustration level: Frustrated There are too many outbound TCP segments queued for transmission. Look at the TCPIP console and NETSTAT POOL for any evidence of any buffer shortages. but am not able to locate where messages DTCREQ034I, DTCPRI181I, DTCPRI182I or DTCPRI199I are documented. They aren't documented as they aren't really messages - they are traces meaningful to the developers. Alan Altmark z/VM Development IBM Endicott
Re: FTP to Tape
On Friday, 03/27/2009 at 02:24 EDT, Mark Pace mpac...@gmail.com wrote: Does z/VM have the capability to FTP to a tape drive as does z/OS? I've searched the manuals and found nothing. I was hoping there was some undocumented way to do this. No, the z/VM FTP server does not support tape. Alan Altmark z/VM Development IBM Endicott
Re: FTP over HiperSockets network
Sort of. I have a z/OS that connects to a zLinux server through Hipersockets. On Fri, Jan 23, 2009 at 12:19 AM, Martin, Terry R. (CMS/CTR) (CTR) terry.mar...@cms.hhs.gov wrote: Hi Is anyone running FTP on z/VM connecting to FTP server on z/OS over a HiperSockets network? If so can you share with me the steps to take to get this working? Thanks in advance for the help!!! Terry -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317
Re: FTP over HiperSockets network
On Friday, 01/23/2009 at 12:20 EST, Martin, Terry R. (CMS/CTR) (CTR) terry.mar...@cms.hhs.gov wrote: Is anyone running FTP on z/VM connecting to FTP server on z/OS over a HiperSockets network? If so can you share with me the steps to take to get this working? The general sequence is: 1. Define a HiperSocket chpid and subchannels. Give the z/VM partition access to three of them (at least) and bring them online. 2. Add DEDICATE statements for the three subchannels to TCPIP's directory entry. 3. Add DEVICE/LINK/HOME/START statements to PROFILE TCPIP. The IFCONFIG command can assist you if you're uncertain about the statements you need. But don't take my word for it! Take a gander at the often-ignored and always-overlooked z/VM Connectivity book in the z/VM library. ;-) Please note that there is an error on p.82 IODEVICE ...,UNIT=IDQ USERPRM=(parmname,OS_num) is incorrect. It should read IODEVICE ...,UNIT=IDQ,CHPARM=(code) where (code) has the OS values in the table. Alan Altmark z/VM Development IBM Endicott
Re: FTP over HiperSockets network
Alan, we put ours in the individual user definition. It works. Should we have put it under TCPIP as you stated below, and what's the dif? Thanks. USER LNX052 PGDN52 768M 768M INCLUDE LINDFLT DEDICATE ED09 ED09 DEDICATE ED0A ED0A DEDICATE ED0B ED0B David Dean Information Systems *bcbstauthorized* -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Friday, January 23, 2009 11:02 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP over HiperSockets network On Friday, 01/23/2009 at 12:20 EST, Martin, Terry R. (CMS/CTR) (CTR) terry.mar...@cms.hhs.gov wrote: Is anyone running FTP on z/VM connecting to FTP server on z/OS over a HiperSockets network? If so can you share with me the steps to take to get this working? The general sequence is: 1. Define a HiperSocket chpid and subchannels. Give the z/VM partition access to three of them (at least) and bring them online. 2. Add DEDICATE statements for the three subchannels to TCPIP's directory entry. 3. Add DEVICE/LINK/HOME/START statements to PROFILE TCPIP. The IFCONFIG command can assist you if you're uncertain about the statements you need. But don't take my word for it! Take a gander at the often-ignored and always-overlooked z/VM Connectivity book in the z/VM library. ;-) Please note that there is an error on p.82 IODEVICE ...,UNIT=IDQ USERPRM=(parmname,OS_num) is incorrect. It should read IODEVICE ...,UNIT=IDQ,CHPARM=(code) where (code) has the OS values in the table. Alan Altmark z/VM Development IBM Endicott - Please see the following link for the BlueCross BlueShield of Tennessee E-mail disclaimer: http://www.bcbst.com/email_disclaimer.shtm
Re: FTP over HiperSockets network
On 1/23/2009 at 11:12 AM, Dean, David (I/S) david_d...@bcbst.com wrote: Alan, we put ours in the individual user definition. It works. Should we have put it under TCPIP as you stated below, and what's the dif? Terry wants to use it from z/VM, not Linux. So, the devices need to be given to TCP/IP. Mark Post
Re: FTP over HiperSockets network
Got it, thanks. David Dean Information Systems *bcbstauthorized* -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Mark Post Sent: Friday, January 23, 2009 11:17 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP over HiperSockets network On 1/23/2009 at 11:12 AM, Dean, David (I/S) david_d...@bcbst.com wrote: Alan, we put ours in the individual user definition. It works. Should we have put it under TCPIP as you stated below, and what's the dif? Terry wants to use it from z/VM, not Linux. So, the devices need to be given to TCP/IP. Mark Post - Please see the following link for the BlueCross BlueShield of Tennessee E-mail disclaimer: http://www.bcbst.com/email_disclaimer.shtm
Re: FTP over HiperSockets network
On 1/23/09 11:02 AM, Alan Altmark alan_altm...@us.ibm.com wrote: On Friday, 01/23/2009 at 12:20 EST, Martin, Terry R. (CMS/CTR) (CTR) terry.mar...@cms.hhs.gov wrote: Is anyone running FTP on z/VM connecting to FTP server on z/OS over a HiperSockets network? If so can you share with me the steps to take to get this working? The general sequence is: 1. Define a HiperSocket chpid and subchannels. Give the z/VM partition access to three of them (at least) and bring them online. 2. Add DEDICATE statements for the three subchannels to TCPIP's directory entry. 3. Add DEVICE/LINK/HOME/START statements to PROFILE TCPIP. The IFCONFIG command can assist you if you're uncertain about the statements you need. But don't take my word for it! Take a gander at the often-ignored and always-overlooked z/VM Connectivity book in the z/VM library. ;-) Please note that there is an error on p.82 IODEVICE ...,UNIT=IDQ USERPRM=(parmname,OS_num) is incorrect. It should read IODEVICE ...,UNIT=IDQ,CHPARM=(code) where (code) has the OS values in the table. You should also consider using a Linux guest as a firewall/NAT router between the physical hipersocket and a VSWITCH or guest LAN instead of dedicating the connection to the VM stack. Since the number of hipersockets are limited, and setting them up is a royal PITA, a setup like that allows more guest systems to take advantage of the connection w/o reinventing the wheel every time, and provides significant traffic shaping and management capabilities. It will cost you some cycles, but it's worth considering if you need a managed path between the guests and don't want to use an external switch path for network performance or security reasons.
Re: FTP over HiperSockets network
Thanks a lot for the information Alan! Thank You, Terry Martin Lockheed Martin - Information Technology z/OS z/VM Systems - Performance and Tuning Cell - 443 632-4191 Work - 410 786-0386 terry.mar...@cms.hhs.gov -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: Friday, January 23, 2009 11:02 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP over HiperSockets network On Friday, 01/23/2009 at 12:20 EST, Martin, Terry R. (CMS/CTR) (CTR) terry.mar...@cms.hhs.gov wrote: Is anyone running FTP on z/VM connecting to FTP server on z/OS over a HiperSockets network? If so can you share with me the steps to take to get this working? The general sequence is: 1. Define a HiperSocket chpid and subchannels. Give the z/VM partition access to three of them (at least) and bring them online. 2. Add DEDICATE statements for the three subchannels to TCPIP's directory entry. 3. Add DEVICE/LINK/HOME/START statements to PROFILE TCPIP. The IFCONFIG command can assist you if you're uncertain about the statements you need. But don't take my word for it! Take a gander at the often-ignored and always-overlooked z/VM Connectivity book in the z/VM library. ;-) Please note that there is an error on p.82 IODEVICE ...,UNIT=IDQ USERPRM=(parmname,OS_num) is incorrect. It should read IODEVICE ...,UNIT=IDQ,CHPARM=(code) where (code) has the OS values in the table. Alan Altmark z/VM Development IBM Endicott
Re: FTP over HiperSockets network
Yes, that is correct Mark! Thank You, Terry Martin Lockheed Martin - Information Technology z/OS z/VM Systems - Performance and Tuning Cell - 443 632-4191 Work - 410 786-0386 terry.mar...@cms.hhs.gov -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Mark Post Sent: Friday, January 23, 2009 11:17 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: FTP over HiperSockets network On 1/23/2009 at 11:12 AM, Dean, David (I/S) david_d...@bcbst.com wrote: Alan, we put ours in the individual user definition. It works. Should we have put it under TCPIP as you stated below, and what's the dif? Terry wants to use it from z/VM, not Linux. So, the devices need to be given to TCP/IP. Mark Post
Re: FTP from CMS to VSE/POWER
What does your ftp jcl look like? Jim Dodds Systems Programmer Kentucky State University 400 East Main Street Frankfort, Ky 40601 502 597 6114 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Suleiman Shahin Sent: Tuesday, January 13, 2009 3:09 PM To: IBMVM@LISTSERV.UARK.EDU Subject: FTP from CMS to VSE/POWER Greetings! I am trying to FTP a CMS member to POWER LST queue. I am losing the first byte. What am I missing? Thanks. Suleiman Shahin cross posted on VSE-L. Windows Live(tm): Keep your life in sync. Check it out. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_01200 9
Re: FTP from CMS to VSE/POWER
On Tuesday, 01/13/2009 at 03:10 EST, Suleiman Shahin s_s_sha...@hotmail.com wrote: I am trying to FTP a CMS member to POWER LST queue. I am losing the first byte. What am I missing? The first character is being treated as carriage control. Use SITE CC OFF and ASCII mode to have VSE prefix each line with a blank. (SITE CC is ignored for binary transfers.) Alan Altmark z/VM Development IBM Endicott
Re: FTP from CMS to VSE/POWER
I am trying to FTP a CMS member to POWER LST queue. I am losing the first byte. What am I missing? The first byte :)) Mike MacIsaac mike...@us.ibm.com (845) 433-7061
Re: FTP from CMS to VSE/POWER
This has worked fine, but.. the whole file is now one line according to Power. Suleiman Shahin Date: Tue, 13 Jan 2009 15:46:52 -0500 From: alan_altm...@us.ibm.com Subject: Re: FTP from CMS to VSE/POWER To: IBMVM@LISTSERV.UARK.EDU On Tuesday, 01/13/2009 at 03:10 EST, Suleiman Shahin s_s_sha...@hotmail.com wrote: I am trying to FTP a CMS member to POWER LST queue. I am losing the first byte. What am I missing? The first character is being treated as carriage control. Use SITE CC OFF and ASCII mode to have VSE prefix each line with a blank. (SITE CC is ignored for binary transfers.) Alan Altmark z/VM Development IBM Endicott _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009