Re: VSWITCH not working with VLANs
Hi Alan Thank you This solved the problem Thank you Jan de Wet Deployment (Business Connexion), Services Building, Midrand, South Africa Cell: +27 (0)82 902 1996 Office: +27 (0)11 990 1695 Fax:+27 (0)86 572 5720 e-mail: jan.de...@bcx.co.za Jesus Christ is my Lord -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark Sent: 19 March 2009 14:29 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: VSWITCH not working with VLANs On Wednesday, 03/18/2009 at 09:21 EDT, Jan de Wet - Business Connexion jan.de...@bcx.co.za wrote: I have been called back to VM to help with a problem VLANs and VSWITCH we have a z/VM 5.4 system with a VSWITCH through which VM and a some Linux systems talk The OSA card is connected to a Cisco 2950 On the 2950 the link is defined as an accessport for VLAN 13 On the VSWITCH all users are defined with VLAN 13 and the VSWITCH is also defined with VLAN 13 everything works Now they want to let one of the Linux systems talk on VLAN 305 Our first step was to change the Cisco link to a trunk allowing vlan 13 and 305 Nothing was changed on the VM side Now NO communication goes through What you originally did was tell the switch that the VSWITCH will NOT send VLAN tags (defined as access port), but you told CP that he WILL be using VLAN tags (by specifying the VLAN option). You got lucky because the NATIVE vlan will default to the DEFAULT vlan. Any guest that is assigned to the NATIVE VLAN id will have their packets go out WITHOUT VLAN tags. That works because the Port VLAN ID on your switch was set to 13. The moment they enabled trunk mode, the world changed. The assigned port VLAN ID (13 in your case) is no longer used. Now those untagged frames come into the switch and are associated with the NATIVE VLAN ID (Cisco defaults to VLAN 1). So those frames aren't going anywhere useful. To fix the problem, make CP and the switch agree: DEFINE VSWITCH VSW1 VLAN 13 NATIVE 1 This creates a default guest assignment to VLAN 13, but defines the native VLAN ID on the switch as 1. (Both ends of a trunk need to have the same native VLAN ID.) This has the effect of causing VLAN 13 traffic to be tagged by CP. The switch will now properly route the traffic. Alan Altmark z/VM Development IBM Endicott
SMSG to RACFVM to do SMF SWITCH
Hi I am testing gout the RACFSMF SMF switching process and I want to issue the SMF SWITCH command to RACFVM. When I try to issue the SMSG RACFSM SMF SWITCH it tells me that in this case that my MAINT user id does not have the authority to issue the SMSG. What do I need to set this authority and is the command correct to switch the SMF data set. I did try to logon to RACFVM directly to do this but had no luck. 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.ma...@cms.hhs.gov
Re: SMSG to RACFVM to do SMF SWITCH
You need to be authorized in CSTCONS. This file tells not only who RACFVM must send messages too, but also who can send SMSG commands to it. It is an ASSEMBLER file, but the standard ASSEMBLE coimmand can still compile it into CSTCONS TEXT. Don't tell the enemy: OPERATOR is by default in the file, hence CP SEND CP OPERATOR SMSG RACFVM will work 2009/3/23 Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I am testing gout the RACFSMF SMF switching process and I want to issue the SMF SWITCH command to RACFVM. When I try to issue the SMSG RACFSM SMF SWITCH it tells me that in this case that my MAINT user id does not have the authority to issue the SMSG. What do I need to set this authority and is the command correct to switch the SMF data set. I did try to logon to RACFVM directly to do this but had no luck. 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support
Help mounting tape on IBM ATL
Hello, I'm trying to have a 3590 z/VM install tape mounted inside an IBM ATL. T he customer I am working with is not sure how to tell the library to mount t he tape. Does anyone have suggestions? Phil
Changing text to postscript
Hello all, Does anyone know if there is software available on z/vm that converts a text file to a postscript file? Thank you, Mary Zervos VM Systems Programmer Binghamton University
Re: Changing text to postscript
Does it have to be postscript or would PDF suffice? For postscript DCF (aka script) can create PS files. The TXT2PDF command does what it says: converts text to PDF. On 3/23/09 10:21 AM, Mary Zervos zer...@binghamton.edu wrote: Hello all, Does anyone know if there is software available on z/vm that converts a text file to a postscript file? Thank you, Mary Zervos VM Systems Programmer Binghamton University
Re: SCSIDISC SAMPEXEC on z/VM 5.4.0
On 3/22/09 10:26 PM, Alan Ackerman alan.acker...@earthlink.net wrote: Endicott has a bad case of NIH. (Not Invented Here.) Not just Endicott. Becoming more endemic by the day. -- db
Re: SMSG to RACFVM to do SMF SWITCH
Thanks Kris! 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 Kris Buelens Sent: Monday, March 23, 2009 9:50 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMSG to RACFVM to do SMF SWITCH You need to be authorized in CSTCONS. This file tells not only who RACFVM must send messages too, but also who can send SMSG commands to it. It is an ASSEMBLER file, but the standard ASSEMBLE coimmand can still compile it into CSTCONS TEXT. Don't tell the enemy: OPERATOR is by default in the file, hence CP SEND CP OPERATOR SMSG RACFVM will work 2009/3/23 Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I am testing gout the RACFSMF SMF switching process and I want to issue the SMF SWITCH command to RACFVM. When I try to issue the SMSG RACFSM SMF SWITCH it tells me that in this case that my MAINT user id does not have the authority to issue the SMSG. What do I need to set this authority and is the command correct to switch the SMF data set. I did try to logon to RACFVM directly to do this but had no luck. 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support
Re: Changing text to postscript
On: Mon, Mar 23, 2009 at 10:21:35AM -0400,Mary Zervos Wrote: Does anyone know if there is software available on z/vm that converts a text file to a postscript file? An old friend had one at one time. He is retired from VM but I have coppied him on this note to ask if it is still available -- Rich Greenberg N Ft Myers, FL, USA richgr atsign panix.com + 1 239 543 1353 Eastern time. N6LRT I speak for myself my dogs only.VM'er since CP-67 Canines:Val, Red, Shasta Casey (RIP), Red Zero, Siberians Owner:Chinook-L Retired at the beach Asst Owner:Sibernet-L
Re: Changing text to postscript
While browsing the internet (google) I came across this site: http://www.tavi.co.uk/os2pages/ews.html which has this tools that might be useful as a starting point: NameDescription FilenameMore information PRINTPS REXXprogram to print a text file on a PostScript printer PRNTPS.ZIP PRNTPS.TXT Lionel B. Dyck, Consultant/Specialist ?Never attribute to malice what can be caused by miscommunication.? NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: Help mounting tape on IBM ATL
Assuming the tape has the scanable bar coding on the external label, have the customer insert the tape into the convenience station (the slots where you insert tapes into the ATL). Then issue the DFSMS command to move the tape from INSERT status to VOLSPECIFIC ... --- DFSMSRM SET VOLCAT volser TARGETCAT VOLSPECIFIC Then you should be able to issue the DFSMS mount command to get the ATL to mount the tape ... JR (Steven) Imler CA Senior Sustaining Engineer Tel: +1 703 708 3479 steven.im...@ca.com -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Philip Tully Sent: Monday, March 23, 2009 10:08 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Help mounting tape on IBM ATL Hello, I'm trying to have a 3590 z/VM install tape mounted inside an IBM ATL. T= he customer I am working with is not sure how to tell the library to mount t= he tape. Does anyone have suggestions? Phil
Re: SMSG to RACFVM to do SMF SWITCH
Hi I was able to issue the command as you pointed out but received an error when it tried to autolog the RACFSFM machine. When I look at the SMF CONTROL file I see the following: CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RAC Note that RAC should be the name of the machine (RACFSMF) to be auto logged but whenever I try to change it to RACFSMF it truncates back to RAC. Any suggestions? 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 Kris Buelens Sent: Monday, March 23, 2009 9:50 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMSG to RACFVM to do SMF SWITCH You need to be authorized in CSTCONS. This file tells not only who RACFVM must send messages too, but also who can send SMSG commands to it. It is an ASSEMBLER file, but the standard ASSEMBLE coimmand can still compile it into CSTCONS TEXT. Don't tell the enemy: OPERATOR is by default in the file, hence CP SEND CP OPERATOR SMSG RACFVM will work 2009/3/23 Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I am testing gout the RACFSMF SMF switching process and I want to issue the SMF SWITCH command to RACFVM. When I try to issue the SMSG RACFSM SMF SWITCH it tells me that in this case that my MAINT user id does not have the authority to issue the SMSG. What do I need to set this authority and is the command correct to switch the SMF data set. I did try to logon to RACFVM directly to do this but had no luck. 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support
Re: Changing text to postscript
PPS EXEC. Supplied with RSCS. It will at least produce a printer-friendly spool file (if you SP PRT TO *) and you can grab that and read it back to disk. On 3/23/09 10:21 AM, Mary Zervos zer...@binghamton.edu wrote: Hello all, Does anyone know if there is software available on z/vm that converts a text file to a postscript file? Thank you, Mary Zervos VM Systems Programmer Binghamton University
Re: Help mounting tape on IBM ATL
Phil, Here are the commands that I used when we had a 'Tape Robot' and DFSMS. DFSMSRM MOUNT VOL XX (RDEV 0600 VDEV 0600 ATTACH VSEPROD READWR DFSMSRM DEMOUNT RDEV 0600 DETACH 0600 FROM VSEPROD WHERE XXX WILL BE THE VOLUME YOU WANT TO INITIALIZE SUBSTITUTE 0600 FOR 0601 WHEN APPLICABLE DFSMSRM Q LIB INV SCRATCH0 DFSMSRM SET VOLCAT VOL 700200 TARGET EJECT DFSMSRM SET VOLCAT VOL XX TARGET SCRATCH0 (SOURCE SCRATCH0 I hope this helps. Cheers, Loren Charnley, Jr. IT Systems Engineer FAMILY DOLLAR (704) 847-6961 Ext. 3327 (704) 814-3327 lorencharn...@familydollar.com -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Philip Tully Sent: Monday, March 23, 2009 10:08 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Help mounting tape on IBM ATL Hello, I'm trying to have a 3590 z/VM install tape mounted inside an IBM ATL. T= he customer I am working with is not sure how to tell the library to mount t= he tape. Does anyone have suggestions? Phil - NOTE: This e-mail message contains PRIVILEGED and CONFIDENTIAL information and is intended only for the use of the specific individual or individuals to which it is addressed. If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use, dissemination or copying of this e-mail or the information contained herein or attached hereto is strictly prohibited. If you receive this e-mail in error, notify the person named above by reply e-mail and please delete it. Thank you.
Re: Changing text to postscript
Thanks! Lionel B. Dyck wrote: *While browsing the internet (google) I came across this site: **http://www.tavi.co.uk/os2pages/ews.html* *which has this tools that might be useful as a starting point:* Name * *Description * *Filename * *More information PRINTPS REXX * *program to print a text file on a PostScript printer _PRNTPS.ZIP_ http://www.tavi.co.uk/os2pages/ews/prntps.zip _PRNTPS.TXT_ http://www.tavi.co.uk/os2pages/ews/prntps.txt *Lionel B. Dyck, Consultant/Specialist * *“Never attribute to malice what can be caused by miscommunication.” * *NOTICE TO RECIPIENT: *If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: BFS SSLSERV question
On 3/22/09 3:31 PM, Alan Altmark alan_altm...@us.ibm.com wrote: Sorry, David, that would just make things worse since we'd keep shipping a new CONFIG filepool in each release as we do with VMSYS and VMSYSU, and then there would be two *global* CONFIG filepools in the collection. Two objects would attempt to occupy the same space and one would be annihilated. There can be only one. Guess the automated filepool generation tool is still off the table? I think we've had that conversation before OTOH, what's to prevent you from shipping it with a release specific name (like you do with volsers on the boot system) like VnnnCFG and then documenting the SCOMDIR NAMES incantation to switch individual virtual machines on a case by case basis using a mechanism like you do with TCPRUNX. As you keep telling me, that's the way to alias generics to specific names on a local and global basis. At some point, IBM has got to bite the bullet and put configuration information OUTSIDE areas that are part of product code, and be really systematic about it. Having stuff in tons of different places is really starting to be a PITA for configuration management.
SMF CONTROL FILE FOR RACFVM
Hi I asked this in another thread but I thought it might be better in a separate one for archiving purposes. Anyway I am trying to get the RACFSMF SMF switch process to work. I modified the SMF CONTROL file to specify the correct LPAR and added the RACFSMF machine name at the end of the file to let RACFVM know he is to autolog RACFSMF to handle the SMF switching and such. The problem is that when I try to change the default of RAC as the machine to be auto logged it truncates all but RACF after I hit the enter key. Is there an issue or am I doing something wrong here? CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RACF 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.ma...@cms.hhs.gov
Re: SMSG to RACFVM to do SMF SWITCH
Here SMF CONTROL is RECFM F LRECL 100. So maybe: Link to RACFVM 191: VMLINK RACFVM 191 COPYFILE SMF CONTROL fm = = A (LRECL 100 XEDIT SMF CONTROL A Verify 1 * overtype RAC by RACFSMF FILE SENDFILE SMF CONTROL A RACFVM SET SECUSER RACFVM * CP SEND CP RACFVM Q RDR * CLASS A(note the spool file nbr CP SEND RACFVM EXEC RECEIVE (REPLACE Done, ready, no need to recycle RACF. But, as now you probably will have SMF data on RACF 301 and 302, you should manually XAUTOLOG RACFSMF to make it cleanup. 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I was able to issue the command as you pointed out but received an error when it tried to autolog the RACFSFM machine. When I look at the SMF CONTROL file I see the following: CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RAC Note that RAC should be the name of the machine (RACFSMF) to be auto logged but whenever I try to change it to RACFSMF it truncates back to RAC. Any suggestions? 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 Kris Buelens Sent: Monday, March 23, 2009 9:50 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMSG to RACFVM to do SMF SWITCH You need to be authorized in CSTCONS. This file tells not only who RACFVM must send messages too, but also who can send SMSG commands to it. It is an ASSEMBLER file, but the standard ASSEMBLE coimmand can still compile it into CSTCONS TEXT. Don't tell the enemy: OPERATOR is by default in the file, hence CP SEND CP OPERATOR SMSG RACFVM will work 2009/3/23 Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I am testing gout the RACFSMF SMF switching process and I want to issue the SMF SWITCH command to RACFVM. When I try to issue the SMSG RACFSM SMF SWITCH it tells me that in this case that my MAINT user id does not have the authority to issue the SMSG. What do I need to set this authority and is the command correct to switch the SMF data set. I did try to logon to RACFVM directly to do this but had no luck. 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support -- Kris Buelens, IBM Belgium, VM customer support
Re: SMF CONTROL FILE FOR RACFVM
I guess your SMF CONTROL is RECFM F LRECL 80; Another problem can be caused by XEDIT: the default will be VERIFY 1 80, meaning you view cols 1 to 80. If you overtype beyond col 80, XEDIT throws that away. That's why I suggested COPYFILE (LRECL 100 and VERIFY 1 100 in the other tread? 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I asked this in another thread but I thought it might be better in a separate one for archiving purposes. Anyway I am trying to get the RACFSMF SMF switch process to work. I modified the SMF CONTROL file to specify the correct LPAR and added the RACFSMF machine name at the end of the file to let RACFVM know he is to autolog RACFSMF to handle the SMF switching and such. The problem is that when I try to change the default of RAC as the machine to be auto logged it truncates all but RACF after I hit the enter key. Is there an issue or am I doing something wrong here? CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RACF 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support
Re: SMF CONTROL FILE FOR RACFVM
Thanks Kris. I will follow your advice and see what happens! 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 Kris Buelens Sent: Monday, March 23, 2009 12:33 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMF CONTROL FILE FOR RACFVM I guess your SMF CONTROL is RECFM F LRECL 80; Another problem can be caused by XEDIT: the default will be VERIFY 1 80, meaning you view cols 1 to 80. If you overtype beyond col 80, XEDIT throws that away. That's why I suggested COPYFILE (LRECL 100 and VERIFY 1 100 in the other tread? 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I asked this in another thread but I thought it might be better in a separate one for archiving purposes. Anyway I am trying to get the RACFSMF SMF switch process to work. I modified the SMF CONTROL file to specify the correct LPAR and added the RACFSMF machine name at the end of the file to let RACFVM know he is to autolog RACFSMF to handle the SMF switching and such. The problem is that when I try to change the default of RAC as the machine to be auto logged it truncates all but RACF after I hit the enter key. Is there an issue or am I doing something wrong here? CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RACF 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support
RSCS Query
I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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: SMF CONTROL FILE FOR RACFVM
HI Kris, My CONTROL file is F 100. BTW, when I issued the: CP SEND RACFVM EXEC RECEIVE 0039 (replace I received an error from the EXEC stating the no data was found on line 0. I did update the SMF CONTROL file in RACFVM by linking to it and updating the SMF CONTROL file on the 'A' disk. I did try xautologging RACFSMF and it just logged right off. I can't tell if it did anything or not. If I issue the SMF SWITCH command again will that hurt anything? 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 Kris Buelens Sent: Monday, March 23, 2009 12:33 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMF CONTROL FILE FOR RACFVM I guess your SMF CONTROL is RECFM F LRECL 80; Another problem can be caused by XEDIT: the default will be VERIFY 1 80, meaning you view cols 1 to 80. If you overtype beyond col 80, XEDIT throws that away. That's why I suggested COPYFILE (LRECL 100 and VERIFY 1 100 in the other tread? 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I asked this in another thread but I thought it might be better in a separate one for archiving purposes. Anyway I am trying to get the RACFSMF SMF switch process to work. I modified the SMF CONTROL file to specify the correct LPAR and added the RACFSMF machine name at the end of the file to let RACFVM know he is to autolog RACFSMF to handle the SMF switching and such. The problem is that when I try to change the default of RAC as the machine to be auto logged it truncates all but RACF after I hit the enter key. Is there an issue or am I doing something wrong here? CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RACF 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support
Re: RSCS Query
The may be a better way, but when I did it I did it like this: snip CP SMSG RSCS (ML.signature) QUERY FILES ON printer SHOW ID, FROMUSER FILENAME FILETYPE CLASS STATUS RECORDS RECSDONE FORM /snip ... snip /**/ /* Receive the response from RSCS. */ /**/ wait = 00:00:25 message_number = do forever seconds1 = time(seconds) WAKEUP +wait (IUCVMSG QUIET if rc = 2 | rc = 6 then leave seconds2 = time(seconds) new_wait = seconds2 - seconds1 + 5 wait = 00:00:||right(new_wait,2,0) parse pull . . . message_number message_line . m_sig mtype, message_text if m_sig ¬= signature then iterate message_line = strip(message_line,l,0) if mtype = H1 | left(message_text,5) == Link then message_text = delstr(message_text,1,1) if message_number = 0001 then leave else do recs = recs + 1 line.recs = message_text end end /snip Peter -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Wandschneider, Scott Sent: March 23, 2009 12:54 To: IBMVM@LISTSERV.UARK.EDU Subject: RSCS Query I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. 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: RSCS Query
Scott, I use an RSCS pipelines stage written by Robert Fowles.I don't recall where I got it (maybe someone else remembers), but it does exactly what you need without a lot of fuss. Here's some doc: /* * * ROUTINE: RSCS REXX (pipeline driver for RSCS 3.1) * * PURPOSE: Pipeline driver to issue RSCS 3.1 command and trap * output. No inputs; output sent to primary output. * * PACKAGE: USERTOOL * * CALLS: CP SET SMSG * * DEPENDENCIES: Calling programs may need to be aware that this * driver can CP SET SMSG IUCV at beginning and * CP SET SMSG OFF at the end. * * AUTHOR: Robert Fowles r...@psuvm 2/25/92 * * REVISIONS: */ Best regards, Mark Wheeler Date: Mon, 23 Mar 2009 09:53:58 -0700 From: scott.wandschnei...@infocrossing.com Subject: RSCS Query To: IBMVM@LISTSERV.UARK.EDU I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. _ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
Re: RSCS Query
Scott, try setting SMSG to IUCV before issuing the PIPE command: CP SET SMSG IUCV Wandschneider, Scott wrote: I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. -- DJ V/Soft z/VM and mainframe Linux expertise, training, consulting, and software development www.vsoft-software.com
Re: RSCS Query
This could work, if WAKEUP must be started before one issues the SMSG command to RSCS. So: 'WAKEUP +0 (IUCVMSG' 'CP SM RSCS QUERY do forever WAKEUP +wait (IUCVMSG QUIET end 'WAKEUP RESET' And, seconds1 = time(seconds) should better be seconds1 = time('Seconds') 2009/3/23, peter.w...@ttc.ca peter.w...@ttc.ca: The may be a better way, but when I did it I did it like this: snip CP SMSG RSCS (ML.signature) QUERY FILES ON printer SHOW ID, FROMUSER FILENAME FILETYPE CLASS STATUS RECORDS RECSDONE FORM /snip ... snip /**/ /* Receive the response from RSCS. */ /**/ wait = 00:00:25 message_number = do forever seconds1 = time(seconds) WAKEUP +wait (IUCVMSG QUIET if rc = 2 | rc = 6 then leave seconds2 = time(seconds) new_wait = seconds2 - seconds1 + 5 wait = 00:00:||right(new_wait,2,0) parse pull . . . message_number message_line . m_sig mtype, message_text if m_sig ¬= signature then iterate message_line = strip(message_line,l,0) if mtype = H1 | left(message_text,5) == Link then message_text = delstr(message_text,1,1) if message_number = 0001 then leave else do recs = recs + 1 line.recs = message_text end end /snip Peter -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Wandschneider, Scott Sent: March 23, 2009 12:54 To: IBMVM@LISTSERV.UARK.EDU Subject: RSCS Query I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. 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. -- Kris Buelens, IBM Belgium, VM customer support
Re: RSCS Query
Here is part of some code I have to capture output from commands to put in the file to browse. If Substr(CMDINPUT,1,2) = 'SM' Then do 'pipe cp q s |', /* Q SET to get current MSG setting */ 'split string /,/ |',/* Split at the comma */ 'take 1 |', /* First line contains setting */ 'var msg_setting'/* Store in variable*/ 'CP SET MSG IUCV' /* Force incoming messages to IUCV */ 'pipe STARMSG 'CMDINPUT, /* Issue command using STARMSG */ '| specs 17-* 1',/* Drop the first 16 chars */ '| stem cap1.', /* Ouput the data to the stem */ '| literal +3 | delay', /* Delay for 3 seconds to get stuff */ '| PIPESTOP' /* Force the pipe stage to end */ 'CP SET' msg_setting /* Reset msg to what it was */ 'pipe stem cap1. | CAP TEXT A' /* Put the output in a file */ 'browse CAP TEXT A' /* Browse the file*/ exit RC /* Exit the routine */ End Paul Feller AIT Mainframe Technical Support -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Wandschneider, Scott Sent: Monday, March 23, 2009 11:54 AM To: IBMVM@LISTSERV.UARK.EDU Subject: RSCS Query I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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: RSCS Query
Scott, Also, find the QRSCS REXX example under Trapping the Responses to RSCS Commands in the z/VM V5R2.0 CMS Pipelines User's Guide at http://publib.boulder.ibm.com/infocenter/zvm/v5r3/index.jsp?topic=/com.ibm.zvm.v53.dmsc5/hcsh1b10187.htm Mark Wheeler Date: Mon, 23 Mar 2009 09:53:58 -0700 From: scott.wandschnei...@infocrossing.com Subject: RSCS Query To: IBMVM@LISTSERV.UARK.EDU I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. _ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
Re: SMF CONTROL FILE FOR RACFVM
So you had F 100, so I guess the SMF CONTROL was OK, but you didn't see it. I looked on my system and with VERIFY 1 80, what you just see ends with RAC; but V 1 * would make you see RACFSMF. EXEC RECEIVE may indeed fail: RACF's 190, S-disk has not all CMS tools. a CP SEND RACFM to LINK MAINT 190 190 and ACCESS 190 Y could be used to make RECEIVE available. RACFSMF hasn't much to do, the default code will move the SMF log file from RACFVM 301 or 302 to its A-disk. That may be very quick indeed. And, if the move had taken place already, there is even less to do. If you don't exploit this log (to make reports of e.g. LINK violations or invalid logon attempts), you can switch the SMS log as often as you like. 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: HI Kris, My CONTROL file is F 100. BTW, when I issued the: CP SEND RACFVM EXEC RECEIVE 0039 (replace I received an error from the EXEC stating the no data was found on line 0. I did update the SMF CONTROL file in RACFVM by linking to it and updating the SMF CONTROL file on the 'A' disk. I did try xautologging RACFSMF and it just logged right off. I can't tell if it did anything or not. If I issue the SMF SWITCH command again will that hurt anything? 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 Kris Buelens Sent: Monday, March 23, 2009 12:33 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMF CONTROL FILE FOR RACFVM I guess your SMF CONTROL is RECFM F LRECL 80; Another problem can be caused by XEDIT: the default will be VERIFY 1 80, meaning you view cols 1 to 80. If you overtype beyond col 80, XEDIT throws that away. That's why I suggested COPYFILE (LRECL 100 and VERIFY 1 100 in the other tread? 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I asked this in another thread but I thought it might be better in a separate one for archiving purposes. Anyway I am trying to get the RACFSMF SMF switch process to work. I modified the SMF CONTROL file to specify the correct LPAR and added the RACFSMF machine name at the end of the file to let RACFVM know he is to autolog RACFSMF to handle the SMF switching and such. The problem is that when I try to change the default of RAC as the machine to be auto logged it truncates all but RACF after I hit the enter key. Is there an issue or am I doing something wrong here? CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RACF 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support -- Kris Buelens, IBM Belgium, VM customer support
Re: RSCS Query
Scott, Try this: /* REXX */ address COMMAND CP SET MSG IUCV PIPE (ENDCHAR ?) STARMSG *MSG CP SMSG RSCS QUERY LINKS , | specs 17-* 1, /* Drop the first 16 chars */ | STEM REC., | LITERAL +5 | DELAY, | PIPESTOP say HowMany rec.0 CP SET MSG ON say rec.0 say rec.1 say rec.2 say rec.3 say rec.4 exit Which yields: HowMany 2653 2653 Link Line Name Status Type Addr LU Name Logmode Queueing RSCS400 active NJE 0400 ... ... FIFO LINKY01 inactive SNANJE LUNNY01 RSCSNJE0 FIFO Jim -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Wandschneider, Scott Sent: Monday, March 23, 2009 9:54 AM To: IBMVM@LISTSERV.UARK.EDU Subject: RSCS Query I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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: SMF CONTROL FILE FOR RACFVM
Thanks Kris! 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 Kris Buelens Sent: Monday, March 23, 2009 2:26 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMF CONTROL FILE FOR RACFVM So you had F 100, so I guess the SMF CONTROL was OK, but you didn't see it. I looked on my system and with VERIFY 1 80, what you just see ends with RAC; but V 1 * would make you see RACFSMF. EXEC RECEIVE may indeed fail: RACF's 190, S-disk has not all CMS tools. a CP SEND RACFM to LINK MAINT 190 190 and ACCESS 190 Y could be used to make RECEIVE available. RACFSMF hasn't much to do, the default code will move the SMF log file from RACFVM 301 or 302 to its A-disk. That may be very quick indeed. And, if the move had taken place already, there is even less to do. If you don't exploit this log (to make reports of e.g. LINK violations or invalid logon attempts), you can switch the SMS log as often as you like. 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: HI Kris, My CONTROL file is F 100. BTW, when I issued the: CP SEND RACFVM EXEC RECEIVE 0039 (replace I received an error from the EXEC stating the no data was found on line 0. I did update the SMF CONTROL file in RACFVM by linking to it and updating the SMF CONTROL file on the 'A' disk. I did try xautologging RACFSMF and it just logged right off. I can't tell if it did anything or not. If I issue the SMF SWITCH command again will that hurt anything? 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 Kris Buelens Sent: Monday, March 23, 2009 12:33 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: SMF CONTROL FILE FOR RACFVM I guess your SMF CONTROL is RECFM F LRECL 80; Another problem can be caused by XEDIT: the default will be VERIFY 1 80, meaning you view cols 1 to 80. If you overtype beyond col 80, XEDIT throws that away. That's why I suggested COPYFILE (LRECL 100 and VERIFY 1 100 in the other tread? 2009/3/23, Martin, Terry R. (LOCKHEED MARTIN Performance Engineering/CTR) (CTR) terry.mar...@cms.hhs.gov: Hi I asked this in another thread but I thought it might be better in a separate one for archiving purposes. Anyway I am trying to get the RACFSMF SMF switch process to work. I modified the SMF CONTROL file to specify the correct LPAR and added the RACFSMF machine name at the end of the file to let RACFVM know he is to autolog RACFSMF to handle the SMF switching and such. The problem is that when I try to change the default of RAC as the machine to be auto logged it truncates all but RACF after I hit the enter key. Is there an issue or am I doing something wrong here? CURRENT 301 K PRIMARY 301 K SECONDARY 302 K 1 LVA1 CLOSE 001 SEVER NO 0 RACF 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.ma...@cms.hhs.gov -- Kris Buelens, IBM Belgium, VM customer support -- Kris Buelens, IBM Belgium, VM customer support
Re: RSCS Query
Thanks to all who responded with some very good solutions. I have it working and it sends emails when it determines a problem with one of the links. Thanks again to all. Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Kris Buelens Sent: Monday, March 23, 2009 2:02 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: RSCS Query This could work, if WAKEUP must be started before one issues the SMSG command to RSCS. So: 'WAKEUP +0 (IUCVMSG' 'CP SM RSCS QUERY do forever WAKEUP +wait (IUCVMSG QUIET end 'WAKEUP RESET' And, seconds1 = time(seconds) should better be seconds1 = time('Seconds') 2009/3/23, peter.w...@ttc.ca peter.w...@ttc.ca: The may be a better way, but when I did it I did it like this: snip CP SMSG RSCS (ML.signature) QUERY FILES ON printer SHOW ID, FROMUSER FILENAME FILETYPE CLASS STATUS RECORDS RECSDONE FORM /snip ... snip /**/ /* Receive the response from RSCS. */ /* */ wait = 00:00:25 message_number = do forever seconds1 = time(seconds) WAKEUP +wait (IUCVMSG QUIET if rc = 2 | rc = 6 then leave seconds2 = time(seconds) new_wait = seconds2 - seconds1 + 5 wait = 00:00:||right(new_wait,2,0) parse pull . . . message_number message_line . m_sig mtype, message_text if m_sig ¬= signature then iterate message_line = strip(message_line,l,0) if mtype = H1 | left(message_text,5) == Link then message_text = delstr(message_text,1,1) if message_number = 0001 then leave else do recs = recs + 1 line.recs = message_text end end /snip Peter -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Wandschneider, Scott Sent: March 23, 2009 12:54 To: IBMVM@LISTSERV.UARK.EDU Subject: RSCS Query I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. 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. 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
Re: RSCS Query
The advantage that Robert Fowles' RSCS REXX stage has over any of the solutions I've seen so far (including the QRSCS REXX sample I pointed out) is its use of a CRI-prefix to uniquely identify the responses coming back from RSCS as being those from the specific command you issued. The others pick up any messages received from any source with the DELAY window you specify. For information on CRI-prefixes, see the z/VM RSCS Networking Operation and Use at http://publib.boulder.ibm.com/infocenter/zvm/v5r4/index.jsp?topic=/com.ibm.zvm.v54.hcpa0/hcsf8b32179.htm I can post the entire program or send it to individual requestors. It's 85 lines long. Mark Wheeler Date: Mon, 23 Mar 2009 14:42:00 -0700 From: james.stra...@dhl.com Subject: Re: RSCS Query To: IBMVM@LISTSERV.UARK.EDU Scott, Try this: /* REXX */ address COMMAND CP SET MSG IUCV PIPE (ENDCHAR ?) STARMSG *MSG CP SMSG RSCS QUERY LINKS , | specs 17-* 1, /* Drop the first 16 chars */ | STEM REC., | LITERAL +5 | DELAY, | PIPESTOP say HowMany rec.0 CP SET MSG ON say rec.0 say rec.1 say rec.2 say rec.3 say rec.4 exit Which yields: HowMany 2653 2653 Link Line Name Status Type Addr LU Name Logmode Queueing RSCS400 active NJE 0400 ... ... FIFO LINKY01 inactive SNANJE LUNNY01 RSCSNJE0 FIFO Jim -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Wandschneider, Scott Sent: Monday, March 23, 2009 9:54 AM To: IBMVM@LISTSERV.UARK.EDU Subject: RSCS Query I would like to issue an RSCS QUERY LINKS and queue the results so I can spin through the response looking for information. Here is a snippet from an experimental REXX EXEC. The results from the query are displayed back at my terminal and the @HowMany variable is always zero. Any ideas? Check_Links: 'pipe cp smsg RSCS query links | stem @Rec. ' @HowMany = @Rec.0 Say HowMany @HowMany Do x = 1 to @HowMany . . . End /* DO */ Scott R Wandschneider Senior Systems Programmer|| Infocrossing, a Wipro Company || 11707 Miracle Hills Drive, Omaha, NE, 68154-4457|| ': 402.963.8905 || Ë:847.849.7223 || :: scott.wandschnei...@infocrossing.com **Think Green - Please print responsibly** 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. _ Get quick access to your favorite MSN content with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A
DDR i/o error on 3592s
Am I doing something wrong here? I'm dumping a bunch of mdisks to tape: 'rew 181' 'tape dvol1' queue 'sysprint cons' queue 'prompt off' queue 'in 100 dasd' queue 'out 181 tape (leave ' queue 'dump all' queue 'in 101 dasd' queue 'out 181 tape (leave ' queue 'dump all' QUEUE 'IN 102 DASD' queue 'out 181 tape (leave ' queue 'dump all' queue '' 'ddr' 'tape wtm 2' And restoring them it gets this far: z/VM DASD DUMP/RESTORE PROGRAM HCPDDR698I DATA DUMPED FROM 0X0802 TO BE RESTORED HCPDDR696I VOLID READ IS 0X0802 RESTORING 0X0802 DATA DUMPED 03/23/09 AT 18.43.18 GMT FROM 0X0802 RESTORED TO 0X0802 INPUT CYLINDER EXTENTS OUTPUT CYLINDER EXTENTS START STOP STARTSTOP 0 4999 04999 Hangs for a very long time and then spits out: HCPDDR705E I/O ERROR 0181 IRB 0002 CCW 030304A8 2001 INPUT 1387000E OUTPUT 1387000E HCPDDR705E I/O ERROR 0181 IRB 00030468 0E01 SNS 004A01C0 30100050 002FFF00 0443 5290 4104E820 664B2111 CCW 2F030460 2001 INPUT OUTPUT END OF RESTORE VMTAPE reports that the tapes drives using for the dumps are 3592EE 896enc,EEFMTB/C and the ones I need to run the restores on are reported as 3592E 896trk,EFMTB/C. They are in the same ATL. Are they just not compatible going this direction or can I convince them are? This is z/VM 5.4 rsu 0802. Marcy 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.
possible routing problem in SMTP
I (we) recently got a 550 Source routing is not permitted. I think this problem is self induced but I don't know exactly how to fix it, so I'm consulting the group. We send emails to customers directly from the mainframe. ( and excuse me if I don't use all of the correct technical terms). Their email server gets and does a reverse lookup to be sure that the SENT FROM and REPLY-TO servers are the same. In the way we do our emailings from the mainframe, they will never be. Mainframe is vm.llic.com and reply to is LAFAYETTELIFE.COM. Our server/email sysadmin has been wanting me to route emails through an smtp relay. Is there a way I can tell SMTP to send all out bound email through that relay? I've looked in the manual but didn't find anything obvious. TIA Steve
Re: possible routing problem in SMTP
On Monday, 03/23/2009 at 07:06 EDT, Gentry, Stephen stephen.gen...@lafayettelife.com wrote: Our server/email sysadmin has been wanting me to route emails through an smtp relay. Is there a way I can tell SMTP to send all out bound email through that relay? I?ve looked in the manual but didn?t find anything obvious. IPMAILERADDRESS ALL Alan Altmark z/VM Development IBM Endicott
OT: Anyone have a copy of the IBM Systems Journal, vol 17, number 3?
I'm trying to locate some of the early NJE networking articles, which all seem to be in vol 17, #3. Does anyone have a copy they would let me borrow long enough to copy the NJE/NJI related articles? Please let me know off-list. Thanks. -- db
Ross Johnson wants to chat
--- Ross Johnson wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-7dfd1e727b-230c67126c-e0d9bc43deb80368 You'll need to click this link to be able to chat with Ross Johnson. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with Ross Johnson, visit: http://mail.google.com/mail/a-7dfd1e727b-230c67126c-cb96439ce0 Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into conversations - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client Gmail and Google Talk are still in beta. We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser).
Support of z/VM and zLinux environments
This is also being cross posted to the Linux-390 group. In your organization, do you support the zLinux distribution as well as z/VM, or are there separate groups in place, one to support z/VM and one for zLinux? Thanks. Ross
Re: OT: Anyone have a copy of the IBM Systems Journal, vol 17, number 3?
How about an online version? http://www.research.ibm.com/journal/sj/173/ibmsj1703C.pdf - Job networkin g http://www.research.ibm.com/journal/sj/173/ibmsj1703D.pdf - Network job entry facility for JES2 For anyone who is interested, online versions of the IBM Systems Journal and the IBM Journal of Research and Development can be found at: http://researchweb.watson.ibm.com/journal/ -- Dale R. Smith Qui non intelligit aut discat aut taceat On Mon, 23 Mar 2009 21:52:29 -0400, David Boyes dbo...@sinenomine.net wrote: I'm trying to locate some of the early NJE networking articles, which al l seem to be in vol 17, #3. Does anyone have a copy they would let me borr ow long enough to copy the NJE/NJI related articles? Please let me know off-list. Thanks. -- db = ===
Randy Burton: last day at Wachovia 12/19
I will be out of the office starting 12/19/2008 and will not return until 01/01/2010. My last day with Wachovia is Friday, December 19. After that, you can reach me personally at: randy.bur...@earthlink.net For any issues at Wachovia, please contact: john.hoff...@wachovia.com or scott.hut...@wachovia.com Merry Christmas Happy New Year!