Example FOR command

2007-08-22 Thread Marcy Cortes
If I wanted to capture the results of a CP FOR command in a rexx exec (preferably a pipe), is there some sample rexx somewhere for that? Marcy Cortes This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the

Re: Example FOR command

2007-08-22 Thread Kris Buelens
In REXX land, it must be a PIPE: the response is sent asynchronously. CP provides the *ASYNCMD IUCV service to grab the response of FOR. Here's something I quickly constructed: address command parse upper arg CPcmd if CPcmd='' then CPcmd='Q USERID' MaxWait=5 /* Wait at most 5 seconds */ 'PIPE

MAINTENANCE

2007-08-22 Thread Anne D. Crabtree
So, I was hoping to ask all the people on the list if they would be willing to share their strategy regarding applying maintenance to VM! It was obviously not a topic that could be covered at SHARE since everyone has their own way of doing it... As I indicated at SHARE, for those of you who

Re: MAINTENANCE

2007-08-22 Thread Rich Smrcina
Anne, That's exactly the approach that I use. Another variation would be to try it on a z/VM in another LPAR, but second level works just as well. Perhaps the key to PUT2PROD is to make sure that you are connected to your OSA ICC or 2074 (if you have either of those). Also, the timing to

Re: MAINTENANCE

2007-08-22 Thread David Boyes
It was obviously not a topic that could be covered at SHARE since everyone has their own way of doing it... As I indicated at SHARE, for those of you who attended the wrap-up session, my inclination is to: -  create a second level VM, -  apply maintenance, - 

Re: MAINTENANCE

2007-08-22 Thread Thomas Kern
This is what I do for applying maintenance or release upgrades. I have a second level virtual machine for my current system maintenance. When I get a new release (hopely 5.3 will arrive in a while), I create a brand new virtual machine for that system. In that system I apply the maintenance in as

Re: Example FOR command

2007-08-22 Thread William Moy
Marcy, On the systems tool disk (eg. 193) there should be a REXX exec called TRYFOR SAMPEXEC. Best Regards, Bill Moy The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU wrote on 08/22/2007 02:12:01 AM: If I wanted to capture the results of a CP FOR command in a rexx exec (preferably a

Re: MAINTENANCE

2007-08-22 Thread Schuh, Richard
Because changing operational procedures is such a headache, it takes about 6 weeks, we do not change the IPL volume. Add to that that we have some pretty heavy vendor modifications to the CP, we simply cannot use the SERVICE/PUT2PROD approach, We do a vanilla 2nd level install and test. When we

Adding a mod 9 to zLinux

2007-08-22 Thread Sikich, Frank J.
I add a volume to a Linux instance does anyone know from the Linux side to make the instance rescan for DASD without rebooting? It should be possible, but I can't find a command to do so. Thanks Frank Sikich

Re: MAINTENANCE

2007-08-22 Thread Colin Allinson
With slight variations we essentially do the same as Richard Schuh. Because, recently, we had more than one current z/VM 5.3 build system we define 5 Mod-3 disks with our own label and define minidisks (1-END) on each of these for our 2nd level build customisation system. One other good

Re: MAINTENANCE

2007-08-22 Thread Anne D. Crabtree
Thank you to those who responded.. My experiences with maintenance have not been good. Even though I had put maintenance on second level VM 5.1, I wasn't sure how to get all components updated on first level. Gave up on that and have since installed VM 5.3 second level. Hopefully, will

Re: Adding a mod 9 to zLinux

2007-08-22 Thread Mark Post
On Wed, Aug 22, 2007 at 12:47 PM, in message [EMAIL PROTECTED], Sikich, Frank J. [EMAIL PROTECTED] wrote: I add a volume to a Linux instance does anyone know from the Linux side to make the instance rescan for DASD without rebooting? It should be possible, but I can't find a command to do so.

Re: MAINTENANCE

2007-08-22 Thread Kris Buelens
When you issue VMFSETUP ppfname compname, you can see what it accesses as build or testbuild disks. These minidisks are what you need to copy from the test system to production. I do have a SERVICED EXEC that will FILELIST all files flagged by VMSES as being changed since a certain date

Re: Adding a mod 9 to zLinux

2007-08-22 Thread Sikich, Frank J.
We are running Redhat Red Hat Enterprise Linux AS release 4 (Nahant Update 3) Kernel 2.6.9-34.EL on an s390x Frank -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, August 22, 2007 1:17 PM To: IBMVM@LISTSERV.UARK.EDU

Re: Adding a mod 9 to zLinux

2007-08-22 Thread Mark Post
On Wed, Aug 22, 2007 at 1:42 PM, in message [EMAIL PROTECTED], Sikich, Frank J. [EMAIL PROTECTED] wrote: We are running Redhat Red Hat Enterprise Linux AS release 4 (Nahant Update 3) Kernel 2.6.9-34.EL on an s390x Sorry to hear that. :) But, it's a 2.6 system, so the chccwdev -e command

Re: Adding a mod 9 to zLinux

2007-08-22 Thread Stracka, James (GTI)
Did you get a CP WRITE LINK to the disk either by SEND CP or vmcp? -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, August 22, 2007 2:17 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Adding a mod 9 to zLinux On Wed,

Re: MAINTENANCE

2007-08-22 Thread Jon Brock
This brings to mind a question I have had: how do y'all (as we way here) go about creating a second-level VM? Jon snip 1) create second level vm 2) apply maintenance 3) test 4) wait for maintenance window 5) backup system 6) apply maintenance 7) test snip

Re: MAINTENANCE

2007-08-22 Thread Thomas Kern
I allocate the necessary new volumes with the volume labels specified by IBM. I can have 510RES and 530RES on different volumes, owned by different virtual machines and can apply maintenance to one or the other or both. The user directory is fairly simple class G user with full volume minidisks

Re: MAINTENANCE

2007-08-22 Thread David Boyes
USER VMTEST xx 64M 64MABG Eek! 1st level class A privs for a test id? That'll last as long as it takes for you to type CP SHUTDOWN to the wrong level of CP...8-) BG or BCEG should be more than sufficient, and there are very good arguments to make test ids like this class G only and do

Re: MAINTENANCE

2007-08-22 Thread Schuh, Richard
My 2nd level system is similar to Tom's. The names are different, but the idea is the same. Our second level sysres becomes an alternate IPL volume that can be used if our real system's IPL volume should somehow get trashed. Regards, Richard Schuh -Original Message- From: The IBM

Re: MAINTENANCE

2007-08-22 Thread Thomas Kern
If all the volumes for the second level volumes are real volumes, then the second level system can be used for lots of recovery processes when it gets IPLed first level. Especially copying all of MVS's DASD from an old storage subsystem to a new one. I insert a pool of userids for such mass DASD

Re: tool to safely edit NAMES files

2007-08-22 Thread Rick Giz
I usually wind up writing my own REXX for things like this, sometimes it's only a quick dirty EXEC to get the job done, but inevitably it gets saved and enhanced and used again. Lots of cloning from other EXECs takes place when preparing a new one, for common things like deciphering input

Re: MAINTENANCE

2007-08-22 Thread Brian Nielsen
That's what I do - class G only for the 2nd level VM guest and do privileged stuff from another userid. Brian Nielsen On Wed, 22 Aug 2007 16:12:40 -0400, David Boyes [EMAIL PROTECTED] wrote: USER VMTEST xx 64M 64MABG Eek! 1st level class A privs for a test id? That'll last as long

Re: MAINTENANCE

2007-08-22 Thread Tom Duerbusch
Yep, I've shot my self in the foot with CLASS A sufficiently enough in the '80s, that I don't have feet left. Since that time, I've trained myself that when ever I'm doing a bad command, to verify, twice, where I am and what I'm doing. That's why class a is OK for me. Little things like I

Re: MAINTENANCE

2007-08-22 Thread Alan Altmark
On Wednesday, 08/22/2007 at 04:15 EDT, David Boyes [EMAIL PROTECTED] wrote: USER VMTEST xx 64M 64MABG Eek! 1st level class A privs for a test id? That'll last as long as it takes for you to type CP SHUTDOWN to the wrong level of CP...8-) BG or BCEG should be more than

Re: MAINTENANCE

2007-08-22 Thread George Haddad
One more from the Class G-only school of hard knocks. Brian Nielsen wrote: That's what I do - class G only for the 2nd level VM guest and do privileged stuff from another userid. Brian Nielsen On Wed, 22 Aug 2007 16:12:40 -0400, David Boyes [EMAIL PROTECTED] wrote: USER VMTEST

Re: MAINTENANCE

2007-08-22 Thread Jon Brock
Thanks for the tips, folks. It's good to see some solid examples of how to insulate the host from the guest. I hope to get started on the 5.3 upgrade next week, if I can beat down the z/OS RSU apply this week. Busy times. Thanks, Jon

Re: Example FOR command

2007-08-22 Thread Dale R. Smith
Gee, a CP FOR command! I remember having a CP FOR command as a local mod back in the 1980s on VM/SP! It's only taken IBM over 20 years to finally add it to VM! Maybe Romney convinced to do it since he wrote the origina l CP FOR command while he was at the University of Waterloo! :-) --

Re: MAINTENANCE

2007-08-22 Thread Adam Thornton
On Aug 22, 2007, at 3:55 PM, Alan Altmark wrote: Eeek! x 2 A non-adminstrator virtual machine with anything other than class G (or less)?!? Someone PLEASE bring me my pills!! The installation guide recommends B actually And even on my class A administrator machine, I have the following

Re: MAINTENANCE

2007-08-22 Thread Jim Bohnsack
Over the course of 30 years of VM systems programming, I and every VM sysprog with whom I have worked, have shut down a production system once. There is probably a SHUTDOWN EXEC on almost every VM system in the world. One thing that I don't understand is why in the world, the SHUTDOWN

Re: 2007 Order of the Knights of VM

2007-08-22 Thread David Kreuter
Just back from vacation and SHARE - congratulations to all the new knights and dames of VM - from Sir David the Elaborator From: The IBM z/VM Operating System on behalf of Carol Everitt Sent: Mon 8/20/2007 6:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re:

Re: MAINTENANCE

2007-08-22 Thread Alan Altmark
On Wednesday, 08/22/2007 at 06:14 EDT, Adam Thornton [EMAIL PROTECTED] wrote: On Aug 22, 2007, at 3:55 PM, Alan Altmark wrote: Eeek! x 2 A non-adminstrator virtual machine with anything other than class G (or less)?!? Someone PLEASE bring me my pills!! The installation guide recommends

Re: MAINTENANCE

2007-08-22 Thread Ivica Brodaric
We have SHUTDOWN command in a privilege class of its own and only one ops userid has that class. That user has a SHUTDOWN EXEC on its A disk. Not to prevent the shutdown but to actually do it. It first checks that it's being run from that particular user and then asks a are-you-shure-type