Re: Some REXX exec help needed.
Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't
Re: Some REXX exec help needed.
What was Richards ( or anyones for that matter) very first pipe? -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Hughes, Jim Sent: Thursday, July 17, 2008 7:56 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) _ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh _ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) _ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) _ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) _ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) _ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete
Re: Some REXX exec help needed.
PIPE Literal Hello world | console Shoot me at dawn. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas Sent: Thursday, July 17, 2008 9:15 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. What was Richards ( or anyones for that matter) very first pipe? -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Hughes, Jim Sent: Thursday, July 17, 2008 7:56 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes
Re: Some REXX exec help needed.
On Thu, 17 Jul 2008 08:55:44 -0400 Hughes, Jim said: Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. I'm willing to cut you some slack as well as cut Richard some slack. His point is that there are some significant overhead associated with Pipelines (Richard's point) and there are some alternatives ( Rexx diag, which with minor changes from his examplle ... variable = diag(8, 'SPOOL CONS CLOSE OPERATOR') allows processing the response to the CLOSE command or SPOOL command) Is the overhead of Pipelines always bad? No. Do you need to be aware of it and understand it? Yes. It believe it was Kent Fiala at SAS that did some of the first looking at the issues that I remember. Pipelines is not a simple replacement for EXECIO or Rexx Diag function. Changing do i = 1 to r.0 'EXECIO 1 DISKW (VAR VARIABLE' end to do i = 1 to r.0 'PIPE var variable | ' file end could be a make things significantly slower. Conceptualy, changing that to do i = 1 to r.0 'EXECIO 1 CP (STR' command end to do i = 1 to r.0 'PIPE CP' command '| var xyz' end is not much different. The second will run slower. Move the PIPE outside the loop, and it exists in an EXEC that runs for 10 minutes anyway, and you might not notice it. In a 15,000 line EXEC with no other EXECIOs, would I choose PIPE CP over EXECIO, probably. Forcing whoever has to support the EXEC to switch mental gears between EXECIO and PIPE is probably not worth the 0.2 ms of extra CPU time when it is run, unless it is run thousands of times per day. What was MY first pipe? Don't remember, probably the Hello World, or some other sample from Melinda's paper. Or probably that other faux pas 'PIPE ' file '| stem recs.' (One test I ran a couple years ago showed that I could read most files 3 or 4 times in the time of 1 loading it into a stem. Even for large files.) Richard's point is that every tool has a proper place, and be careful to choose the proper tool. /ahw Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP
Re: Some REXX exec help needed.
On Thu, 17 Jul 2008 09:40:46 EDT, A. Harry Williams [EMAIL PROTECTED] wrote: Richard's point is that every tool has a proper place, and be careful to choose the proper tool. Reminds me of something I heard on The Red Green Show: 1) Use the right tool for the right job. 2) Any tool can be the right tool. Brian Nielsen
Re: Some REXX exec help needed.
In that case parse value diagrc(8,' SPOOL CONS CLOSE OPERATOR ') with cprc cpcc cpmsg if he wants to see both the the return code and the message or parse value diag(8, 'SPOOL CONS OPERATOR CLOSE') with cpmsg if he doesn't care about the rc or cc from CP but does want to see the message. Yet another way would be y = diag(8,'SPOOL CONSOLE OPERATOR CLOSE) and then process the variable Y. If all that us wanted is to keep the response from showing up on the console, then a simple call diag 8, 'SPOOL CONS OPERATOR CLOSE will do the trick. Maybe many start with that type of simple Pipe, but they need to learn that Pipes is not the correct tool for every job. There are many places where a Pipe is the best tool, but for something like processing a simple command that only returns a small amount of data in its response or if the desire is simply to suppress the display of the response, there are better ways. I have known many people who learned to use Pipelines as a replacement for EXECIO (and, as Phil Smith III likes to point out, there are places where EXECIO is superior to Pipelines) and who have written many complex REXX programs who still, after several years, have never progressed beyond code that looks like this: 'pipe cp cmd1' 'pipe cp cmd2' . . . 'pipe cp cmdn' (Yes, Alan, most who code like this commit that other sin of not including an address command statement in their programs.) Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Thursday, July 17, 2008 5:56 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator
Re: Some REXX exec help needed.
My first pipe was a command line entry that did a CP QUERY DASD' selected all volumes having a volser starting with the letter V, sorted on the 5th word and wrote the result to a file. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas Sent: Thursday, July 17, 2008 6:15 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. What was Richards ( or anyones for that matter) very first pipe? -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] Behalf Of Hughes, Jim Sent: Thursday, July 17, 2008 7:56 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto
Re: Some REXX exec help needed.
I will not demonstrate anything where a full blown implementation of PIPE must be typed in. My example was a starting point, nothing more, nothing less. At this point we are picking ant poop out of pepper. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Thursday, July 17, 2008 11:57 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. In that case parse value diagrc(8,' SPOOL CONS CLOSE OPERATOR ') with cprc cpcc cpmsg if he wants to see both the the return code and the message or parse value diag(8, 'SPOOL CONS OPERATOR CLOSE') with cpmsg if he doesn't care about the rc or cc from CP but does want to see the message. Yet another way would be y = diag(8,'SPOOL CONSOLE OPERATOR CLOSE) and then process the variable Y. If all that us wanted is to keep the response from showing up on the console, then a simple call diag 8, 'SPOOL CONS OPERATOR CLOSE will do the trick. Maybe many start with that type of simple Pipe, but they need to learn that Pipes is not the correct tool for every job. There are many places where a Pipe is the best tool, but for something like processing a simple command that only returns a small amount of data in its response or if the desire is simply to suppress the display of the response, there are better ways. I have known many people who learned to use Pipelines as a replacement for EXECIO (and, as Phil Smith III likes to point out, there are places where EXECIO is superior to Pipelines) and who have written many complex REXX programs who still, after several years, have never progressed beyond code that looks like this: 'pipe cp cmd1' 'pipe cp cmd2' . . . 'pipe cp cmdn' (Yes, Alan, most who code like this commit that other sin of not including an address command statement in their programs.) Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Thursday, July 17, 2008 5:56 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Pretty harsh comment there Richard. It seems he'd like to eat up the response to the Close command and perhaps process the result. The CP command as you wrote it displays it on the console. The DIAG command as you wrote it also displays the output on the console. How about cutting me some slack? Many people start using PIPE's with a simple one like mine. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Schuh, Richard Sent: Wednesday, July 16, 2008 5:36 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR
Re: Some REXX exec help needed.
We seem to have gone off the track of the original problem. I would like to add a CP Q V CON *BEFORE* the EXECIO, to see if console is currently even being spooled. If some previous step was meant to start spooling, but didn't, that would explain why nothing is going to OPERATOR. Shimon
Re: Some REXX exec help needed.
Another possibility would be that the console had been closed and no new messages had been displayed between that close and the EXECIO. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Shimon Lebowitz Sent: Thursday, July 17, 2008 11:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. We seem to have gone off the track of the original problem. I would like to add a CP Q V CON *BEFORE* the EXECIO, to see if console is currently even being spooled. If some previous step was meant to start spooling, but didn't, that would explain why nothing is going to OPERATOR. Shimon
Re: Some REXX exec help needed.
Thanks to all for your replies, I resolved my issue with the following and I can get exactly what I want out of this. 'EXECIO * CP (STEM BUFLINE. STRING 'CP CLOSE CONS OPERATOR'' SAY BUFLINE.1 PARSE VAR BUFLINE.1 . . . . . . . . RDR_NUMBER UNUSED1 Schuh, Richard [EMAIL PROTECTED] 7/17/2008 2:38 PM Another possibility would be that the console had been closed and no new messages had been displayed between that close and the EXECIO. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Shimon Lebowitz Sent: Thursday, July 17, 2008 11:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. We seem to have gone off the track of the original problem. I would like to add a CP Q V CON *BEFORE* the EXECIO, to see if console is currently even being spooled. If some previous step was meant to start spooling, but didn't, that would explain why nothing is going to OPERATOR. Shimon _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Howard, That will work find as long as the CONSOLE was started. That should do it... unless the console was not SPOOLed START in the first place. He's a way of bullet-proofing it: parse value diag(8,'CLOSE CONSOLE TO OPERATOR') with . . . . . . . . sfid . If sfid'' then ... do what you want with the SPOOL File ID (RECEIVE, PIPE READER, etc.) Mike Walter Hewitt Associates Any opinions expressed herein are mine alone and do not necessarily represent the opinions or policies of Hewitt Associates. Howard Rifkind [EMAIL PROTECTED] Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 07/17/2008 03:25 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: Some REXX exec help needed. Thanks to all for your replies, I resolved my issue with the following and I can get exactly what I want out of this. 'EXECIO * CP (STEM BUFLINE. STRING 'CP CLOSE CONS OPERATOR'' SAY BUFLINE.1 PARSE VAR BUFLINE.1 . . . . . . . . RDR_NUMBER UNUSED1 Schuh, Richard [EMAIL PROTECTED] 7/17/2008 2:38 PM Another possibility would be that the console had been closed and no new messages had been displayed between that close and the EXECIO. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Shimon Lebowitz Sent: Thursday, July 17, 2008 11:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. We seem to have gone off the track of the original problem. I would like to add a CP Q V CON *BEFORE* the EXECIO, to see if console is currently even being spooled. If some previous step was meant to start spooling, but didn't, that would explain why nothing is going to OPERATOR. Shimon _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Re: Some REXX exec help needed.
Thanks, good suggestion I also try this one. Mike Walter [EMAIL PROTECTED] 7/17/2008 4:52 PM Howard, That will work find as long as the CONSOLE was started. That should do it... unless the console was not SPOOLed START in the first place. He's a way of bullet-proofing it: parse value diag(8,'CLOSE CONSOLE TO OPERATOR') with . . . . . . . . sfid . If sfid'' then ... do what you want with the SPOOL File ID (RECEIVE, PIPE READER, etc.) Mike Walter Hewitt Associates Any opinions expressed herein are mine alone and do not necessarily represent the opinions or policies of Hewitt Associates. Howard Rifkind [EMAIL PROTECTED] Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 07/17/2008 03:25 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU To IBMVM@LISTSERV.UARK.EDU cc Subject Re: Some REXX exec help needed. Thanks to all for your replies, I resolved my issue with the following and I can get exactly what I want out of this. 'EXECIO * CP (STEM BUFLINE. STRING 'CP CLOSE CONS OPERATOR'' SAY BUFLINE.1 PARSE VAR BUFLINE.1 . . . . . . . . RDR_NUMBER UNUSED1 Schuh, Richard [EMAIL PROTECTED] 7/17/2008 2:38 PM Another possibility would be that the console had been closed and no new messages had been displayed between that close and the EXECIO. Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Shimon Lebowitz Sent: Thursday, July 17, 2008 11:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. We seem to have gone off the track of the original problem. I would like to add a CP Q V CON *BEFORE* the EXECIO, to see if console is currently even being spooled. If some previous step was meant to start spooling, but didn't, that would explain why nothing is going to OPERATOR. Shimon _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Some REXX exec help needed.
I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Try MAKEBUF instead of MAKBUF; rc = -3 is command not found. Wouldn¹t the close command be CLOSE OPERATOR CONS? Not CONS OPERATOR... This is without getting any manuals or help files involved, and my mind isn¹t what it used to be, so no warrantee implied... -- Robert P. Nix Mayo Foundation.~. RO-OE-5-55 200 First Street SW/V\ 507-284-0844 Rochester, MN 55905 /( )\ -^^-^^ In theory, theory and practice are the same, but in practice, theory and practice are different. On 7/16/08 3:59 PM, Howard Rifkind [EMAIL PROTECTED] wrote: I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Thanks Richard...just plain stupid of me not to pick this one up. Schuh, Richard [EMAIL PROTECTED] 7/16/2008 5:01 PM MAKEBUF, not MAKBUF Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 2:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Thanks, but doesn't look that way. 204 *-* 'EXECIO * CP (STRING CLOSE OPERATOR CONS' EXECIO * CP (STRING CLOSE OPERATOR CONS +++ RC(1022) +++ 205 *-* MAXLINES = QUEUED() 1 206 *-* IDX0 = 0 0 208 *-* DO UNTIL IDX0 = MAXLINES 209 *-*PARSE UPPER PULL BUFLINE.IDX0 HCPCSL022E A VIRTUAL DEVICE NUMBER WAS NOT SUPPLIED OR IT WAS INVALID. RPN01 [EMAIL PROTECTED] 7/16/2008 5:03 PM Try MAKEBUF instead of MAKBUF; rc = -3 is command not found. Wouldn’t the close command be CLOSE OPERATOR CONS? Not CONS OPERATOR... This is without getting any manuals or help files involved, and my mind isn’t what it used to be, so no warrantee implied... -- Robert P. Nix Mayo Foundation.~. RO-OE-5-55 200 First Street SW/V\ 507-284-0844 Rochester, MN 55905 /( )\ -^^-^^ In theory, theory and practice are the same, but in practice, theory and practice are different. On 7/16/08 3:59 PM, Howard Rifkind [EMAIL PROTECTED] wrote: I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Looks right though it isn't. EXECIO * CP ( STRING CLOSE CONS OPERATOR Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:10 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks, but doesn't look that way. 204 *-* 'EXECIO * CP (STRING CLOSE OPERATOR CONS' EXECIO * CP (STRING CLOSE OPERATOR CONS +++ RC(1022) +++ 205 *-* MAXLINES = QUEUED() 1 206 *-* IDX0 = 0 0 208 *-* DO UNTIL IDX0 = MAXLINES 209 *-*PARSE UPPER PULL BUFLINE.IDX0 HCPCSL022E A VIRTUAL DEVICE NUMBER WAS NOT SUPPLIED OR IT WAS INVALID. RPN01 [EMAIL PROTECTED] 7/16/2008 5:03 PM Try MAKEBUF instead of MAKBUF; rc = -3 is command not found. Wouldn't the close command be CLOSE OPERATOR CONS? Not CONS OPERATOR... This is without getting any manuals or help files involved, and my mind isn't what it used to be, so no warrantee implied... -- Robert P. Nix Mayo Foundation.~. RO-OE-5-55 200 First Street SW/V\ 507-284-0844 Rochester, MN 55905 /( )\ -^^-^^ In theory, theory and practice are the same, but in practice, theory and practice are different. On 7/16/08 3:59 PM, Howard Rifkind [EMAIL PROTECTED] wrote: I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.
Re: Some REXX exec help needed.
It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken
Re: Some REXX exec help needed.
I guess I should sit down and learn how to use the PIPE command. But in the mean time it appears that my EXECIO command isn't doing its thing. Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:24 PM It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. “ Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash
Re: Some REXX exec help needed.
Even cheaper, say diag(8, 'SPOOL CONS CLOSE OPERATOR') or 'CP SPOOL CONS CLOSE OPERATOR' Why invoke Pipelines when there are both an internal function and a simple command that will do the job with much less overhead (no scanner, scheduler, etc.). This is a case of blatant misuse of Pipelines. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Hughes, Jim Sent: Wednesday, July 16, 2008 2:25 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message
Re: Some REXX exec help needed.
Maybe you run the exec with SET IMSG OFF and/or SET EMSG OFF To learn Pipes: have a look at our Pipes selfstudy Telecourse: http://www.vm.ibm.com/download/packages/descript.cgi?TCVM2 2008/7/16 Howard Rifkind [EMAIL PROTECTED]: I guess I should sit down and learn how to use the PIPE command. But in the mean time it appears that my EXECIO command isn't doing its thing. Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:24 PM It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL
Re: Some REXX exec help needed.
Howard Rifkin wrote: I guess I should sit down and learn how to use the PIPE command. But in the mean time it appears that my EXECIO command isn't doing its thing. Sure, and you just want to get your problem solved! We understand that. Since it appears that something is going on, how about changing the EXECIO CP to just a 'CP CLOSE CONSOLE OPERATOR' to see if you get the message *then*? And add CP QUERY SET just before it, too, to see if something is turning IMSG/EMSG off. A suggestion. If you just want to trap and parse the output, DIAG is much cleaner: parse value diag(8, 'CLOSE CONSOLE OPERATOR') with . . file . ...gets you the SPOOL file number (if that's what you wanted) in one operation. Doesn't help with the where's my message? issue, but it does make your code shorter and cleaner. Let us know what happens! ...phsiii
Re: Some REXX exec help needed.
Howard, Is this what you want - 'EXECIO * CP (STRING SPOOL CONS CLOSE FOR OPERATOR'; HITACHI DATA SYSTEMS Raymond E. Noal Senior Technical Engineer Office: (408) 970 - 7978 From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 2:29 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. I guess I should sit down and learn how to use the PIPE command. But in the mean time it appears that my EXECIO command isn't doing its thing. Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:24 PM It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E
Re: Some REXX exec help needed.
Yes, tried this but this to doesn't work. Raymond Noal [EMAIL PROTECTED] 7/16/2008 5:46 PM Howard, Is this what you want – 'EXECIO * CP (STRING SPOOL CONS CLOSE FOR OPERATOR'; HITACHI DATA SYSTEMS Raymond E. Noal Senior Technical Engineer Office: (408) 970 - 7978 From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 2:29 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. I guess I should sit down and learn how to use the PIPE command. But in the mean time it appears that my EXECIO command isn't doing its thing. Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:24 PM It works for me. On the other hand why not make life easier on yourself and PIPE it: PIPE LITERAL CLOSE CONS OPERATOR | CP | Stem ans. “ Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:19 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Yes it did as indicated below, but shouldn't this have appeared in the reader stack as shown by keying in the following at the console? CLOSE CONS OPERATOR CON FILE 0227 SENT TO OPERATOR RDR AS 0063 RECS 0017 CPY 001 T NOHOLD NOKEEP Ready; CP Q RDR OPERATOR ORIGINID FILE CLASS RECORDS CPY HOLD USERFORM OPERFORM DEST KEEP MSG E18823 0063 T CON 0017 001 NONE STANDARD STANDARD OFF OFF OFF Ready; Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:14 PM If the console was spooled, it went to operator. CP Q RDR OPERATOR and see if a console spool file is there. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:13 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. This is what shows up during execution: 204 *-* 'EXECIO * CP (STRING CLOSE CONS OPERATOR' EXECIO * CP (STRING CLOSE CONS OPERATOR 205 *-* MAXLINES = QUEUED() 0 Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:09 PM Yes. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:06 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Some REXX exec help needed. Thanks... Is my EXECIO statement valid? Hughes, Jim [EMAIL PROTECTED] 7/16/2008 5:03 PM MAKEBUF not MAKBUF hence the -3. Jim Hughes 603-271-5586 Its kind of fun to do the impossible. (Walt Disney) From:The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Howard Rifkind Sent: Wednesday, July 16, 2008 5:00 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Some REXX exec help needed. I have the following code in a REXX exec which if I recall worked without any issues in a prior life. 'MAKBUF' BUFFNUM = RC 'EXECIO * CP (STRING CLOSE CONS OPERATOR' The MAKBUF is returning an RC of -3 and the EXECIO statement isn't working but did in the past. I know this is crazy but all this started after I logged off and then back on. Any ideas as how to solve this will be appreciated. Thanks. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. _ LEGAL NOTICE Unless expressly
Re: Some REXX exec help needed.
On Wednesday, 07/16/2008 at 05:47 EDT, Raymond Noal [EMAIL PROTECTED] wrote: 'EXECIO * CP (STRING SPOOL CONS CLOSE FOR OPERATOR'; TO OPERATOR. The FOR will leave in the issuing user's print queue. There is also CLOSE CONS TO OPERATOR. Either will do. And don't forget to add STOP if you don't want any more spooled output. Alan Altmark z/VM Development IBM Endicott
Re: Some REXX exec help needed.
On: Wed, Jul 16, 2008 at 05:59:41PM -0400,Howard Rifkind Wrote: } Yes, tried this but this to doesn't work. } } Raymond Noal [EMAIL PROTECTED] 7/16/2008 5:46 PM } } Howard, } } Is this what you want ??? } 'EXECIO * CP (STRING SPOOL CONS CLOSE FOR OPERATOR'; Here is a WAG. Is it possible that you are running with ADDRESS CMS in effect and you have an EXECIO exec around? Or even with ADDRESS COMMAND and a stray module around. Do: Listfile EXECIO * * see if anything shows besides the one on the S disk. -- 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: Some REXX exec help needed.
Alan, you make me think: - CLOSE CONS will close console unless you have SP CONS START CONTINUE - SPOOL CONS CLOSE closes the console in any case 2008/7/17 Alan Altmark [EMAIL PROTECTED]: On Wednesday, 07/16/2008 at 05:47 EDT, Raymond Noal [EMAIL PROTECTED] wrote: 'EXECIO * CP (STRING SPOOL CONS CLOSE FOR OPERATOR'; TO OPERATOR. The FOR will leave in the issuing user's print queue. There is also CLOSE CONS TO OPERATOR. Either will do. And don't forget to add STOP if you don't want any more spooled output. Alan Altmark z/VM Development IBM Endicott -- Kris Buelens, IBM Belgium, VM customer support