Re: Red Hat Enterprise Linux 6 - installing problems
Some success using LCS - I added the following to the Herc conf file 0700.2 3088 10.0.2.5 -n /dev/net/tun -m 01:02:03:04:05:06 and then restarted the install. I then managed to make progress using the URL install method and ftp - after successfully logging on to the ftp server things started to happen. So far so good. Alas, suddenly it all evaporated into a puff of smoke - the following is a snip from the log. Can anyone explain why the install decided to shutdown - 02:44:43,403 INFO: transferring ftp://b...@20.250.180.52/RHEL6/images/instal l.img 02:45:24,353 INFO: mounted loopback device /mnt/runtime on /dev/loop0 as /tm p/install.img 02:45:24,354 INFO: got stage2 at url ftp://b...@20.250.180.52/RHEL6/images/i nstall.img 02:45:24,354 INFO: reset repo= parameter to ftp://b...@20.250.180.52/RHEL6 02:45:26,682 INFO: Loading SELinux policy 02:45:42,692 INFO: getting ready to spawn shell now 02:45:42,697 INFO: not spawning a shell 02:45:54,461 INFO: Running anaconda script /usr/bin/anaconda about to exec shutdown disabling swap... unmounting filesystems... /mnt/runtime done disabling /dev/loop0 LOOP_CLR_FD failed: 16 /proc done /dev/pts done /sys done /selinux done waiting for mdraid sets to become clean... Error: mdadm exited with status: 127 sending termination signals...done sending kill signals...done halting system HHCCP042I SYSCONS interface inactive CPU: SIGP Stop (05) CPU0001, PARM : CC 0 CPU: SIGP Stop (05) CPU, PARM : CC 0 Command ==> -- From: "Scott Rohling" Sent: Wednesday, December 01, 2010 10:02 AM To: Subject: Re: Red Hat Enterprise Linux 6 - installing problems I was going to say - try LCS.. not sure if RHEL6 supports it - but have RHEL5.4 running under Herc with LCS... hopefully support wasn't dropped! Scott Rohling On Tue, Nov 30, 2010 at 3:35 PM, Bern VK2KAD wrote: Thanks for the feedback - that seems to kill off Hercules as a platform - unless there is some other way.(Any ideas ??) Could be a bit tricky creating a DASD with the images and packages folders. don't have FC SCSI or CD/DVD ROM so that is ruled out - and NFS is also a nogo :( I'm not sure whether I should try LCS as the virtual OSA - does RHEL6 support LCS?? -- From: "Karsten Hopp" Sent: Wednesday, December 01, 2010 9:59 AM To: Subject: Re: Red Hat Enterprise Linux 6 - installing problems Am 30.11.2010 05:47, schrieb Bern VK2KAD: Hi all Me again, I have made some progress and have hit another blockage. I wasn't having any luck with Hercules under Windows XP so I chose another path. I am now running on Ubuntu8.10 with Herc 3.07. I can successfully IPL from the generic.ins file and the installer starts. I get to the SSH login and successfully get a session with inst...@10.0.15.3 - much progress ;) Next comes anaconda and here is where I am stuck. I want to install via ftp - I am following the RHEL6 Installation Manual - unfortunately it doesn't quite match what anaconda is throwing at me. Possibly a documentation mismatch?? At the "Installation Method" dialog box I select "URL" - next I get a "No driver found" dialog to which I select "Select driver" Next dialog is a combo box "Select Device Driver to Load" - I cannot get any of the options to throw anything other than returning me to the "No Driver Found" dialog again. The obvious choices for Networking are the last 3 - but alas they all behave in the same way. There is a "Specify option module arguments" input but I don't have a clue what is needed. Any help would be greatly appreciated. B. "Select Device Driver to Load" rings a bell, I've stumbled over that during the F-14 development, too. Bad news for you is that CTC isn't supported anymore as a installation device in RHEL6, I've added support for point-to-point devices back in Fedora-14. Karsten -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Question to smsgiucv
Look at the sample AF_IUCV programs in CMS. The connection to *MSG should be the same, except that you'd want to translate EBCDIC to ASCII. -- R; On Dec 1, 2010 3:49 PM, "Florian Bilek" wrote: > Dear all, > > I am looking for a possibility using the Virtual Reader under z/VM in > z/LINUX. The idea is to process files received from a z/OS via RSCS. > Off course I could regullarily start VMUR to poll the RDR but couldn't that > be done much smarter with an event starting VMUR ? > I thought smsgiucv could do that but I am not sure how.Does there exist a > sample? > > Thank you very much. > > -- > Best regards > > Florian > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Question to smsgiucv
Hi Florian, Please don't use polling. You wakeup your machine even when nothing is happening. If you want to receive files you can use the linux console. When a file is send to a guest a message on the virtual console appears. Trap this message (use SCIF and PROP to monitor your linux consoles, like OPERATOR or similar) and have PROP trigger a script to receive the file. That's how we do it. We send files from VM and linuxguests to linuxguests, either directly or through ftp to remote VM LPARs (we don't have RSCS over there). When a RDR file arrives our PROP user issues a command to the linuxguest to run a script that will receive and process the file. Regards, Berry Op 01-12-10 21:48, Florian Bilek schreef: > Dear all, > > I am looking for a possibility using the Virtual Reader under z/VM in > z/LINUX. The idea is to process files received from a z/OS via RSCS. > Off course I could regullarily start VMUR to poll the RDR but couldn't that > be done much smarter with an event starting VMUR ? > I thought smsgiucv could do that but I am not sure how.Does there exist a > sample? > > Thank you very much. > > -- > Best regards > > Florian > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Question to smsgiucv
On Wednesday, 12/01/2010 at 03:54 EST, Florian Bilek wrote: > Dear all, > > I am looking for a possibility using the Virtual Reader under z/VM in > z/LINUX. The idea is to process files received from a z/OS via RSCS. > Off course I could regullarily start VMUR to poll the RDR but couldn't that > be done much smarter with an event starting VMUR ? > I thought smsgiucv could do that but I am not sure how.Does there exist a > sample? You may wish to consider the NJE/IP Bridge from Sine Nomine. Google "+nje +linux +sine" and click the first link. It may already have all the capability you're looking for. 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 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Question to smsgiucv
Florian Bilek writes: > I am looking for a possibility using the Virtual Reader under z/VM in > z/LINUX. The idea is to process files received from a z/OS via RSCS. > Off course I could regullarily start VMUR to poll the RDR but couldn't that > be done much smarter with an event starting VMUR ? I've kept meaning to add select() support or similar to vmur since I wrote the original but it's never quite made it to the top of my priority list. It should just be a few lines of code (catch the unsolicited interrupt and wake any waiters) in the right place. I'll try to take a look soon if nobody gets in there first. --Malcolm -- Malcolm Beattie Mainframe Systems and Software Business, Europe IBM UK -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Need "unusual" Linux ftp client
Many thanks. I never really looked closely at that "macdef" stuff. Very interesting. And it does what I need! John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * 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 > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of Eddie Chen > Sent: Wednesday, December 01, 2010 2:35 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Need "unusual" Linux ftp client > > John, > > In your ftp client > > Type: > > ftp> macdef Myput > Enter macro line by line, terminating it with a null line > pwd > put $1 $1 > > >Then > > $Myput > > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of McKown, John > Sent: Wednesday, December 01, 2010 2:58 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Need "unusual" Linux ftp client > > I download data from z/OS. And I do it repetitively. > Basically, run a job on z/OS to generate a file. Download the > file. Process on Linux. Repeat. I do some intermediate work > on z/OS between runs. This work changes the output of the > job. I want to compare the output from the various runs. I > currently do this by starting up the Linux ftp client; do a > runique; then get the file. This results in the ftp client > creating a series of file on Linux with .1, .2, .3, and so > on. What I would like to do is not need to remember to do the > runique command, but have it be the client default. I cannot > change the z/OS ftp server's defaults. Well, I could, but I'd > catch you-know-what if I did. . Is there some way to > have the Linux ftp client do this for me? Why not just depend > on myself? Because I sometimes mess up. And it only takes > once to overwrite a file. Is there some other way to do this? > > Oh, I guess that I could make an ftp step in the job with an > sunique and reverse the roles. However, I'm not actually > creating a file. I'm creating a SYSOUT report. And the z/OS > ftp server can then make that available to the Linux ftp > client. Saves me from creating the dataset and cleaning it up > later. I guess that I could do a GDG, but that's more of a > problem than I want to bother with. I'm lazy. > > John McKown > Systems Engineer IV > IT > > Administrative Services Group > > HealthMarkets(r) > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > (817) 255-3225 phone * > 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 > > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > Please consider the environment before printing this email. > > Visit our website at http://www.nyse.com > > > > Note: The information contained in this message and any > attachment to it is privileged, confidential and protected > from disclosure. If the reader of this message is not the > intended recipient, or an employee or agent responsible for > delivering this message to the intended recipient, you are > hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. If you > have received this communication in error, please notify the > sender immediately by replying to the message, and please > delete it from your system. Thank you. NYSE Euronext. > > -- > For
Re: Need "unusual" Linux ftp client
The macdef is a macro. In the example, combines the PWD and the PUT in one command. In your case open an ftp client session: Type: Macdef lazy and it will come back Enter macro line by line, terminating it with a null line Enter the following: Runique get $1 $1 Later when you reopen the ftp session Type :$lazy filename.filetype -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of McKown, John Sent: Wednesday, December 01, 2010 3:55 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Need "unusual" Linux ftp client Many thanks. I didn't really "get" what the macdef was about. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * 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 > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of Paul Rogers > Sent: Wednesday, December 01, 2010 2:36 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Need "unusual" Linux ftp client > > On Wed, Dec 1, 2010 at 1:57 PM, McKown, John > wrote: > > I download data from z/OS. And I do it repetitively. > Basically, run a job on z/OS to generate a file. Download the > file. Process on Linux. Repeat. I do some intermediate work > on z/OS between runs. This work changes the output of the > job. I want to compare the output from the various runs. I > currently do this by starting up the Linux ftp client; do a > runique; then get the file. This results in the ftp client > creating a series of file on Linux with .1, .2, .3, and so > on. What I would like to do is not need to remember to do the > runique command, but have it be the client default. I cannot > change the z/OS ftp server's defaults. Well, I could, but I'd > catch you-know-what if I did. . Is there some way to > have the Linux ftp client do this for me? Why not just depend > on myself? Because I sometimes mess up. And it only takes > once to overwrite a file. Is there some other way to do this? > > man netrc > > $ cat .netrc > machine zOS-hostname-or-ipaddress macdef init > runique > > $ > > > Oh, I guess that I could make an ftp step in the job with > an sunique and reverse the roles. However, I'm not actually > creating a file. I'm creating a SYSOUT report. And the z/OS > ftp server can then make that available to the Linux ftp > client. Saves me from creating the dataset and cleaning it up > later. I guess that I could do a GDG, but that's more of a > problem than I want to bother with. I'm lazy. > > A lazy man is an efficient man! > > Enjoy! > > Paul > > > John McKown > > Systems Engineer IV > > IT > > > > Administrative Services Group > > > > HealthMarkets(r) > > > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > > (817) 255-3225 phone * > > 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 > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ Please consider the environment before printing this email. Visit our website at http://www.nyse.com
Re: Need "unusual" Linux ftp client
On 01/12/2010 09:57, McKown, John wrote: I download data from z/OS. And I do it repetitively. Basically, run a job on z/OS to generate a file. Download the file. Process on Linux. Repeat. I do some intermediate work on z/OS between runs. This work changes the output of the job. I want to compare the output from the various runs. I currently do this by starting up the Linux ftp client; do a runique; then get the file. This results in the ftp client creating a series of file on Linux with .1, .2, .3, and so on. What I would like to do is not need to remember to do the runique command, but have it be the client default. I cannot change the z/OS ftp server's defaults. Well, I could, but I'd catch you-know-what if I did.. Is there some way to have the Linux ftp client do this for me? Why not just depend on myself? Because I sometimes mess up. And it only takes once to overwrite a file. Is there some other way to do this? runique/sunique aren't commands I use much, but it sounds like you'd like to download to or whatever the latest number is? Do they have to be in strict numerical order, or simply distinct names, for example file.2010-12-01. Y-M-D sort nicely and don't depend on previous filenames - throw in H-M-S if you need the granularity. As for better ftp clients, there are several; curl, wget, lftp, ncftp. The requested behaviour could be done as: wget --no-clobber ftp://server/path/file or including the date as wget --output-document "file.$(date +%F)" ftp://server/path/file See wget's --ftp-user and other authentication options to provide login credentials (and don't put passwords on the command-line where other users can see them with "ps"). Cheers, Phil -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Need "unusual" Linux ftp client
-John McKown wrote: - >I download data from z/OS. And I do it repetitively. Basically, run a >job on z/OS to generate a file. Download the file. Process on Linux. >Repeat. I do some intermediate work on z/OS between runs. This work >changes the output of the job. I want to compare the output from the >various runs. I currently do this by starting up the Linux ftp >client; do a runique; then get the file. This results in the ftp >client creating a series of file on Linux with .1, .2, .3, and so on. >What I would like to do is not need to remember to do the runique >command, but have it be the client default. I cannot change the z/OS >ftp server's defaults. Well, I could, but I'd catch you-know-what if >I did. . Is there some way to have the Linux ftp client do this >for me? Why not just depend on myself? Because I sometimes mess up. >And it only takes once to overwrite a file. Is there some other way >to do this? > >Oh, I guess that I could make an ftp step in the job with an sunique >and reverse the roles. However, I'm not actually creating a file. I'm >creating a SYSOUT report. And the z/OS ftp server can then make that >available to the Linux ftp client. Saves me from creating the dataset >and cleaning it up later. I guess that I could do a GDG, but that's >more of a problem than I want to bother with. I'm lazy. Could you write a script that runs the Linux FTP client with commands read from a file? We have an automated daily transfer of accounting data from a Linux application to a z/OS application that works this way. This transfer also uses the FTP client option that calls for reading logon credentials from a file. In the absence of that option, I am not sure what would happen when the FTP client attempted to prompt you for a user name and password with standard input redirected. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Need "unusual" Linux ftp client
John, In your ftp client Type: ftp> macdef Myput Enter macro line by line, terminating it with a null line pwd put $1 $1 Then $Myput -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of McKown, John Sent: Wednesday, December 01, 2010 2:58 PM To: LINUX-390@VM.MARIST.EDU Subject: Need "unusual" Linux ftp client I download data from z/OS. And I do it repetitively. Basically, run a job on z/OS to generate a file. Download the file. Process on Linux. Repeat. I do some intermediate work on z/OS between runs. This work changes the output of the job. I want to compare the output from the various runs. I currently do this by starting up the Linux ftp client; do a runique; then get the file. This results in the ftp client creating a series of file on Linux with .1, .2, .3, and so on. What I would like to do is not need to remember to do the runique command, but have it be the client default. I cannot change the z/OS ftp server's defaults. Well, I could, but I'd catch you-know-what if I did. . Is there some way to have the Linux ftp client do this for me? Why not just depend on myself? Because I sometimes mess up. And it only takes once to overwrite a file. Is there some other way to do this? Oh, I guess that I could make an ftp step in the job with an sunique and reverse the roles. However, I'm not actually creating a file. I'm creating a SYSOUT report. And the z/OS ftp server can then make that available to the Linux ftp client. Saves me from creating the dataset and cleaning it up later. I guess that I could do a GDG, but that's more of a problem than I want to bother with. I'm lazy. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * 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 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ Please consider the environment before printing this email. Visit our website at http://www.nyse.com Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Need "unusual" Linux ftp client
Many thanks. I didn't really "get" what the macdef was about. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * 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 > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of Paul Rogers > Sent: Wednesday, December 01, 2010 2:36 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Need "unusual" Linux ftp client > > On Wed, Dec 1, 2010 at 1:57 PM, McKown, John > wrote: > > I download data from z/OS. And I do it repetitively. > Basically, run a job on z/OS to generate a file. Download the > file. Process on Linux. Repeat. I do some intermediate work > on z/OS between runs. This work changes the output of the > job. I want to compare the output from the various runs. I > currently do this by starting up the Linux ftp client; do a > runique; then get the file. This results in the ftp client > creating a series of file on Linux with .1, .2, .3, and so > on. What I would like to do is not need to remember to do the > runique command, but have it be the client default. I cannot > change the z/OS ftp server's defaults. Well, I could, but I'd > catch you-know-what if I did. . Is there some way to > have the Linux ftp client do this for me? Why not just depend > on myself? Because I sometimes mess up. And it only takes > once to overwrite a file. Is there some other way to do this? > > man netrc > > $ cat .netrc > machine zOS-hostname-or-ipaddress macdef init > runique > > $ > > > Oh, I guess that I could make an ftp step in the job with > an sunique and reverse the roles. However, I'm not actually > creating a file. I'm creating a SYSOUT report. And the z/OS > ftp server can then make that available to the Linux ftp > client. Saves me from creating the dataset and cleaning it up > later. I guess that I could do a GDG, but that's more of a > problem than I want to bother with. I'm lazy. > > A lazy man is an efficient man! > > Enjoy! > > Paul > > > John McKown > > Systems Engineer IV > > IT > > > > Administrative Services Group > > > > HealthMarkets(r) > > > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > > (817) 255-3225 phone * > > 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 > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Question to smsgiucv
Dear all, I am looking for a possibility using the Virtual Reader under z/VM in z/LINUX. The idea is to process files received from a z/OS via RSCS. Off course I could regullarily start VMUR to poll the RDR but couldn't that be done much smarter with an event starting VMUR ? I thought smsgiucv could do that but I am not sure how.Does there exist a sample? Thank you very much. -- Best regards Florian -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Need "unusual" Linux ftp client
John -- Not sure I fully understand, but sounds like you may get far using a little shell pipes and either 'curl' or 'wget'. 'curl' writes a URL to standard output by default. 'wget' gets web files to your current directory by default, but can write to stdout. (I suppose you could "get" to stdout with 'ftp', but I have found 'curl' and 'wget' to be more forward moving.) Obviously your URL would start with "ftp://";, so the point is to move away from an FTP-only client to a general web client. YOU MAY eventually not even use FTP on the z/OS box for the task you describe. I was going to suggest immediate use of HTTP there, but you mentioned limits on how much you can change there (or ... limits on how much you can change without getting your fingers chopped or pinched). So that's another reason for going with 'curl' or 'wget'. Note that 'curl' also has a USS counterpart. I don't believe I have ever used it. Now ... to the pipeline ... With 'curl' or 'wget' the "file", which is really SYSOUT, becomes literally "stdout" (of the web reader client). Feed that through your choice of awk, sed, grep and munge it any way you need to. You could also wrap-up a couple of pipelines into a single shell script, throw their output into temp files, and maybe run 'diff' against them. I hope this helps. -- R; <>< Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Dec 1, 2010 at 14:57, McKown, John wrote: > I download data from z/OS. And I do it repetitively. Basically, run a job > on z/OS to generate a file. Download the file. Process on Linux. Repeat. I > do some intermediate work on z/OS between runs. This work changes the output > of the job. I want to compare the output from the various runs. I currently > do this by starting up the Linux ftp client; do a runique; then get the > file. This results in the ftp client creating a series of file on Linux with > .1, .2, .3, and so on. What I would like to do is not need to remember to do > the runique command, but have it be the client default. I cannot change the > z/OS ftp server's defaults. Well, I could, but I'd catch you-know-what if I > did. . Is there some way to have the Linux ftp client do this for me? > Why not just depend on myself? Because I sometimes mess up. And it only > takes once to overwrite a file. Is there some other way to do this? > > Oh, I guess that I could make an ftp step in the job with an sunique and > reverse the roles. However, I'm not actually creating a file. I'm creating a > SYSOUT report. And the z/OS ftp server can then make that available to the > Linux ftp client. Saves me from creating the dataset and cleaning it up > later. I guess that I could do a GDG, but that's more of a problem than I > want to bother with. I'm lazy. > > John McKown > Systems Engineer IV > IT > > Administrative Services Group > > HealthMarkets(r) > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > (817) 255-3225 phone * > 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 > > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Need "unusual" Linux ftp client
On Wed, Dec 1, 2010 at 1:57 PM, McKown, John wrote: > I download data from z/OS. And I do it repetitively. Basically, run a job on > z/OS to generate a file. Download the file. Process on Linux. Repeat. I do > some intermediate work on z/OS between runs. This work changes the output of > the job. I want to compare the output from the various runs. I currently do > this by starting up the Linux ftp client; do a runique; then get the file. > This results in the ftp client creating a series of file on Linux with .1, > .2, .3, and so on. What I would like to do is not need to remember to do the > runique command, but have it be the client default. I cannot change the z/OS > ftp server's defaults. Well, I could, but I'd catch you-know-what if I did. > . Is there some way to have the Linux ftp client do this for me? Why > not just depend on myself? Because I sometimes mess up. And it only takes > once to overwrite a file. Is there some other way to do this? man netrc $ cat .netrc machine zOS-hostname-or-ipaddress macdef init runique $ > Oh, I guess that I could make an ftp step in the job with an sunique and > reverse the roles. However, I'm not actually creating a file. I'm creating a > SYSOUT report. And the z/OS ftp server can then make that available to the > Linux ftp client. Saves me from creating the dataset and cleaning it up > later. I guess that I could do a GDG, but that's more of a problem than I > want to bother with. I'm lazy. A lazy man is an efficient man! Enjoy! Paul > John McKown > Systems Engineer IV > IT > > Administrative Services Group > > HealthMarkets(r) > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > (817) 255-3225 phone * > 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 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Need "unusual" Linux ftp client
I download data from z/OS. And I do it repetitively. Basically, run a job on z/OS to generate a file. Download the file. Process on Linux. Repeat. I do some intermediate work on z/OS between runs. This work changes the output of the job. I want to compare the output from the various runs. I currently do this by starting up the Linux ftp client; do a runique; then get the file. This results in the ftp client creating a series of file on Linux with .1, .2, .3, and so on. What I would like to do is not need to remember to do the runique command, but have it be the client default. I cannot change the z/OS ftp server's defaults. Well, I could, but I'd catch you-know-what if I did. . Is there some way to have the Linux ftp client do this for me? Why not just depend on myself? Because I sometimes mess up. And it only takes once to overwrite a file. Is there some other way to do this? Oh, I guess that I could make an ftp step in the job with an sunique and reverse the roles. However, I'm not actually creating a file. I'm creating a SYSOUT report. And the z/OS ftp server can then make that available to the Linux ftp client. Saves me from creating the dataset and cleaning it up later. I guess that I could do a GDG, but that's more of a problem than I want to bother with. I'm lazy. John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * 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 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Red Hat Enterprise Linux 6 - installing problems
On 11/30/2010 11:59 PM, Karsten Hopp wrote: Am 30.11.2010 05:47, schrieb Bern VK2KAD: I can successfully IPL from the generic.ins file and the installer starts. At the "Installation Method" dialog box I select "URL" - next I get a "No driver found" dialog to which I select "Select driver" Next dialog is a combo box "Select Device Driver to Load" - I cannot get any of the options to throw anything other than returning me to the "No Driver Found" dialog again. "Select Device Driver to Load" rings a bell, I've stumbled over that during the F-14 development, too. Bad news for you is that CTC isn't supported anymore as a installation device in RHEL6, I've added support for point-to-point devices back in Fedora-14. This issue is described in the following bug comment and is due to loader (of anaconda) not accepting ptp network devices. CTC does work up to the start of loader since the earlier linuxrc.s390 sets up CTC correctly and this is used for the ssh login. https://bugzilla.redhat.com/show_bug.cgi?id=596826#c22 While the earlier parts in above bug are fixed in RHEL6 and upstream, the following fixes for your encountered issue only seem to be upstream: http://git.fedorahosted.org/git/?p=anaconda.git;a=commit;h=aec2e17840f2c3f5e5c605b96518e3d80dadf53d http://git.fedorahosted.org/git/?p=anaconda.git;a=commit;h=dc68f9a6bc1c36d808a8c8c514f7cb6caac5f769 http://git.fedorahosted.org/git/?p=anaconda.git;a=commit;h=fa5ed4e8bbc5d56750a03a82b596dbdf804d1bf0 http://git.fedorahosted.org/git/?p=anaconda.git;a=commit;h=d3180ef38db7d4cc2615ebadedfbb59d9fe984cd However, loader (as part of anaconda) accepting ptp devices is only part of the installation solution and NetworkManager also needs to accept ptp devices since anaconda uses NM to manage network devices once loader has started (and thus takes over device management from linuxrc.s390 which runs before loader on s390). I found the following bug opened by Karsten for NM: https://bugzilla.redhat.com/show_bug.cgi?id=641986 HTH Steffen Linux on System z Development IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/