Kris, May be my sentences were missleading. It's the requestor's machine, not on the target machine, where the information apppear. Meanwhile I have included ADDRESS COMMAND though ensured that there is no PIPE EXEC. Never the less the new tests made it even clearer to me that it behaves different if running with a terminal or disconnected.
E.g. TRYFOR TSTUSR QUERY SET normally delivers the results to the variables and stem.s as coded to the pipe in the program, however, if running disconnected just to the log while "The number of command response records from *ASYNCMD are >0<" . Seems something yet hidden switches when going disconnect, too? I guess this will have to be switched back again by the EXEC or somehow managed by the pipe? Wolfgang ________________________________ From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf Of Kris Buelens Sent: Thursday, November 18, 2010 9:30 AM To: [email protected] Subject: Re: Working with *ASYNCMD service I just tried TRYFOR on my 5.4 system and all is perfect, no additional messages anywhere; not in the SPOOL CONSOLE of the target machine, not to a secondary user. I did not ehowever that TRYFOR SAMPEXEC does not use ADDRESS COMMAND. Hence, if you'd have a PIPE EXEC, TRYFOR will use that instead of the PIPE MODULE. So, assure you have ADDRESS COMMAND in front of the execs, and change 'pipe ... to 'PIPE .... 2010/11/18 Alan Altmark <[email protected]> On Wednesday, 11/17/2010 at 09:19 EST, "Buettner, Wolfgang" <[email protected]> wrote: > I have build a REXX program on base of the TRYFOR SAMPEXEC in order to submit > FOR commands and receive any response automatically. > So far nearly all works fine. > > The only snag is that in case the virtual machine runs disconnected > response from a QUERY SET is placed additionally to the CONSOLE LOG and > also to the SECUSER's screen if any exists. > > The same is true if I run TRYFOR EXEC unmodified. > > Any idea how to avoid that? You will need to open a PMR and discuss it with the Support Center. Usage Note #3 says, "The target of the FOR command will not receive any command responses." Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 [email protected] IBM Endicott -- Kris Buelens, IBM Belgium, VM customer support Software AG - Group Executive Board: Karl-Heinz Streibich (Vorsitzender/Chairman), Arnd Zinnhardt, Mark Edwards, David Broadbent, Josef Bommersbach, Dr. Wolfram Jost, Kamyar Niroumand, Ivo Totev Sitz/Registered office: Uhlandstra?e 12, 64297 Darmstadt, Germany, - Registergericht/Commercial register: Darmstadt HRB 1562 - Vorstand/ Management Board: Karl-Heinz Streibich (Vorsitzender/Chairman), David Broadbent, Dr. Wolfram Jost, Arnd Zinnhardt; - Aufsichtsratsvorsitzender/ Chairman of the Supervisory Board: Dr. Andreas Bereczky - http://www.softwareag.com/
