Well, I thought I had this working with the STARMSG, etc. Used the gate
example. Worked fine on my userid, but I really need this to run on a
programmable operator. (did I forget to mention that detail? 8-) )
When running on a programmable operator, I get the following:
FPLSMG650E CP system service *MSG is in use by another program
FPLMSG004I ... Issued from stage 1 of pipeline 2 name "starmsg"
FPLMSG001I ... Running "starmsg CP QUERY LLICPDM"
10:43:13.445852 -->qpdm4{mainline}\ pdmqry.0=:PDMQRY.0:
67 +++ DO I = 1 to qpdm.0
DMSREX476E Error 41 running QPDM4 EXEC, line 67: Bad arithmetic conversion
The whole reason for this exercise is because programmers want to monitor
printers. IMO, the operators should be doing this but sometimes you do what
your told. The SEND command is supposed to work with class G users, which it
does, but PDMGRP4 won't let the programmer issue the command because they
aren't authorized. Where as it's ok to let the programmers see what the
printers are doing, they won't be allowed to issue START and DRAIN commands.
So, we've got this programmable operator that watches over the printers anyway.
My solution was to have the programmers issue a command that would result in a
QUERY LLICPDM being issued and returning the results to them.
So, either I need to get this exec working some how on the programmable
operator or restrict the programmers to issuing QUERY's only.
Any suggestions appreciated.
Thanks,
Steve
-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:[email protected]] On
Behalf Of Bruce Hayden
Sent: Monday, April 13, 2015 10:01 AM
To: [email protected]
Subject: Re: trying to catch the results from a QUERY.
Enter PIPE AHELP STARMSG and take a look at the example. The example shows
RSCS and catching a CP MSG, but the response from SEND is also an asynchronous
response. You will have to set CPCONIO to IUCV to capture the SECUSER output
from the LLICPDM user.
On Mon, Apr 13, 2015 at 9:54 AM, Gentry, Steve <
[email protected]> wrote:
> I'm issuing the following command:
> 'PIPE CP SEND LLICPDM QUERY | > QUERYPDM DATA A'
> While the command does work, it returns the information to the console
> and does not put it in the file.
> This has to do with query PDMGRP4 printers and I'm suspecting because
> of this the results don't get send to the file.
> Does anyone know a trick to get this to work?
> Thanks,
> Steve
>
--
Bruce Hayden
z/VM and Linux on z Systems ATS
IBM, Endicott, NY