Why would I use System REXX as shown in the sample? (was: RO command query)
If this is only system REXX issue, there is an example of using AXRMLWTO in the MVS Authorized Assembler Services Guide: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A881/31. 5?SHELF=IEA2BK81DT=20080120225118 While we're at it: I once more tried to understand the advantage of using System REXX in general and especially as shown in the MCSOPER example. There is an asm routine establishing an EMCS console, then calling System REXX to issue a system command, retrieving the command response and writing it back to our previously established EMCS console, finally the assembler code, after returning from System REXX reads the command response from the EMCS console. Seems like a lot of overhead and a lot more complex than necessary to me. Why not simply issue the command directly from the asm code (using MGCRE)? What (advantage) am I missing? Is anybody using System REXX? If so, what for? -- Peter Hunkeler Credit Suisse -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Why would I use System REXX as shown in the sample? (was: RO command query)
On Wed, 31 Dec 2008 09:38:36 +0100, Hunkeler Peter (KIUK 3) peter.hunke...@credit-suisse.com wrote: Samples are just that. They aren't indicative of the best way to do something. But good samples are better than bad samples. :-) What (advantage) am I missing? Being able to execute the process from an operator console as if it were a built-in operator command. Even if you can't get onto TSO.I'm talking in general terms here... not in reference to that sample in particular since I didn't look at it closely. Is anybody using System REXX? If so, what for? Not really.. only played with it. I am using a EXTSO exec to be able to issue a TSO command from the console. This is same thing Ed Jaffe was doing with TSOCMD (I think that is what he called it) ... or TSOX. Search the archives. It could be used for health checks. There have been some SHARE sessions on this. Personally, until there is a supported / alternate STORAGE function that I can use, I probably won't be doing much with it.Console automation packages can be used instead. Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:mark.zel...@zurichna.com z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Why would I use System REXX as shown in the sample? (was: RO command query)
I agree with the STORAGE function being required for SYSREXX to be useful. Jon L. Veilleux veilleu...@aetna.com (860) 636-2683 -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mark Zelden Sent: Wednesday, December 31, 2008 9:42 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Why would I use System REXX as shown in the sample? (was: RO command query) On Wed, 31 Dec 2008 09:38:36 +0100, Hunkeler Peter (KIUK 3) peter.hunke...@credit-suisse.com wrote: Samples are just that. They aren't indicative of the best way to do something. But good samples are better than bad samples. :-) What (advantage) am I missing? Being able to execute the process from an operator console as if it were a built-in operator command. Even if you can't get onto TSO.I'm talking in general terms here... not in reference to that sample in particular since I didn't look at it closely. Is anybody using System REXX? If so, what for? Not really.. only played with it. I am using a EXTSO exec to be able to issue a TSO command from the console. This is same thing Ed Jaffe was doing with TSOCMD (I think that is what he called it) ... or TSOX. Search the archives. It could be used for health checks. There have been some SHARE sessions on this. Personally, until there is a supported / alternate STORAGE function that I can use, I probably won't be doing much with it.Console automation packages can be used instead. Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:mark.zel...@zurichna.com z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
REXX STORAGE (was: Why would I use System REXX as shown in the sample? (was: RO command query))
On Wed, 31 Dec 2008 08:42:26 -0600, Mark Zelden mark.zel...@zurichna.com wrote: ... Personally, until there is a supported / alternate STORAGE function that I can use, I probably won't be doing much with it.Console automation packages can be used instead. ... I know this is the wrong forum to discuss this, but ... I've never understood that part of IRXINIT that uses a 1-bit flag (STORFL) to control use of the STORAGE function - full read/write function or none. I can understand needeing (or at least wanting) to prevent writing using STORAGE - especially in a multi-user address space, but there should be a read-only option vailable. Yes, I know STORAGE is an external function so it would require cooperation of that external function, but the environment executing IRXINIT is the same one providing the external function. It should know whether a read-only STORAGE function is provided. I'm too near the end of my career to see this situation change, but younger folk might consider submitting a Requirement Same comment goes for System REXX.Submit a Req that the STORAGE function be enabled for System REXX. At the very least, let it be an an installation option controlled by a PARMLIB member or some such. Pat O'Keefe -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RO command query
Tommy, It always helps if you provide the full question rather than a partial one. That way we can help better answer your question. So, is this a SYSTEM REXX that you are using to route a command with and retrieve the information? If so, when you say you get nothing back - what does that mean? Have you used SAY statements or TRACE function in REXX to see how the code works? That the stem vars are empty? Or that you are seeing an error in SYSLOG for your REXX or Lizette acutally, I want to display all sysplex member tape information, but it didn't work fine. After the command issued, nothing display and the command time out finally. CMDRESULT=AXRCMD('RO MOSYSD,D SMS,LIB(ALL),DETAIL','OUTPUTVAR.',100); C=1 connectid= 'FIRSTLINE'; IF CMDRESULT =0 THEN DO MYRESULT=AXRMLWTO(OUTPUTVAR.1,'CONNECTID','C'); DO C = 2 TO OUTPUTVAR.0 LINE = 'SYSu '||left(outputvar.c,80) MYRESULT=AXRMLWTO(line,'CONNECTID','D'); IF MyResult =0 THEN EXIT 1; END; CALL AXRMLWTO , 'CONNECTID','E'; END ; On Tue, Dec 30, 2008 at 7:31 AM, Lizette Koehler stars...@mindspring.com wrote: It looks like there is a space between the comma and the D A,L. Have you tried it without the space? RO LPAR2,D A,L Lizette hi all, Why the RO command does not work properly? is there any changed after upgrade to z/os 1.9. In our shop there are three members or LPARs connected to sysplex, when I issue the following command under the SDSF from LPAR1, nothing display from LPAR1 console. RO LPAR2, D A,L -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RO command query
Tommy, I realize your English may not be the best, but Lizette is correct. How would have anyone realized your question was related to sysrexx? As a matter of fact, you asked if anything change in z/OS 1.9 with the RO command via SDSF. Is this an SDSF issue or System REXX issue? If SDSF, there could be several reasons I can think of off the top of my head why the display doesn't come back to you. You could have a duplicate EMCS console name in SDSF active on another LPAR in the sysplex, your console response delay could be set at 0 or you may not be authorized for ULOG. You control the first 2 with SDSF settings (see the OPTIONS pull down menu). ULOG authority comes from ISFPARMS / ISFPRMxx / security software. If this is only system REXX issue, there is an example of using AXRMLWTO in the MVS Authorized Assembler Services Guide: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A881/31.5?SHELF=IEA2BK81DT=20080120225118 Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:mark.zel...@zurichna.com z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html On Tue, 30 Dec 2008 07:53:42 -0500, Lizette Koehler stars...@mindspring.com wrote: Tommy, It always helps if you provide the full question rather than a partial one. That way we can help better answer your question. So, is this a SYSTEM REXX that you are using to route a command with and retrieve the information? If so, when you say you get nothing back - what does that mean? Have you used SAY statements or TRACE function in REXX to see how the code works? That the stem vars are empty? Or that you are seeing an error in SYSLOG for your REXX or Lizette acutally, I want to display all sysplex member tape information, but it didn't work fine. After the command issued, nothing display and the command time out finally. CMDRESULT=AXRCMD('RO MOSYSD,D SMS,LIB(ALL),DETAIL','OUTPUTVAR.',100); C=1 connectid= 'FIRSTLINE'; IF CMDRESULT =0 THEN DO MYRESULT=AXRMLWTO(OUTPUTVAR.1,'CONNECTID','C'); DO C = 2 TO OUTPUTVAR.0 LINE = 'SYSu '||left(outputvar.c,80) MYRESULT=AXRMLWTO(line,'CONNECTID','D'); IF MyResult =0 THEN EXIT 1; END; CALL AXRMLWTO , 'CONNECTID','E'; END ; On Tue, Dec 30, 2008 at 7:31 AM, Lizette Koehler stars...@mindspring.com wrote: It looks like there is a space between the comma and the D A,L. Have you tried it without the space? RO LPAR2,D A,L Lizette hi all, Why the RO command does not work properly? is there any changed after upgrade to z/os 1.9. In our shop there are three members or LPARs connected to sysplex, when I issue the following command under the SDSF from LPAR1, nothing display from LPAR1 console. RO LPAR2, D A,L -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
RO command query
hi all, Why the RO command does not work properly? is there any changed after upgrade to z/os 1.9. In our shop there are three members or LPARs connected to sysplex, when I issue the following command under the SDSF from LPAR1, nothing display from LPAR1 console. RO LPAR2, D A,L thanks and regards -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RO command query
If you are getting an IEE311I message, you have a space between the comma and the command. On Mon, Dec 29, 2008 at 3:06 PM, Tommy Tsui tommyt...@gmail.com wrote: hi all, Why the RO command does not work properly? is there any changed after upgrade to z/os 1.9. In our shop there are three members or LPARs connected to sysplex, when I issue the following command under the SDSF from LPAR1, nothing display from LPAR1 console. RO LPAR2, D A,L thanks and regards -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RO command query
It looks like there is a space between the comma and the D A,L. Have you tried it without the space? RO LPAR2,D A,L Lizette hi all, Why the RO command does not work properly? is there any changed after upgrade to z/os 1.9. In our shop there are three members or LPARs connected to sysplex, when I issue the following command under the SDSF from LPAR1, nothing display from LPAR1 console. RO LPAR2, D A,L -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RO command query
acutally, I want to display all sysplex member tape information, but it didn't work fine. After the command issued, nothing display and the command time out finally. CMDRESULT=AXRCMD('RO MOSYSD,D SMS,LIB(ALL),DETAIL','OUTPUTVAR.',100); C=1 connectid= 'FIRSTLINE'; IF CMDRESULT =0 THEN DO MYRESULT=AXRMLWTO(OUTPUTVAR.1,'CONNECTID','C'); DO C = 2 TO OUTPUTVAR.0 LINE = 'SYSu '||left(outputvar.c,80) MYRESULT=AXRMLWTO(line,'CONNECTID','D'); IF MyResult =0 THEN EXIT 1; END; CALL AXRMLWTO , 'CONNECTID','E'; END ; On Tue, Dec 30, 2008 at 7:31 AM, Lizette Koehler stars...@mindspring.com wrote: It looks like there is a space between the comma and the D A,L. Have you tried it without the space? RO LPAR2,D A,L Lizette hi all, Why the RO command does not work properly? is there any changed after upgrade to z/os 1.9. In our shop there are three members or LPARs connected to sysplex, when I issue the following command under the SDSF from LPAR1, nothing display from LPAR1 console. RO LPAR2, D A,L -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html