Marciozmap

OPS/MVS X MQSeries

Discussion created by Marciozmap on Dec 28, 2018
Latest reply on Jan 2, 2019 by Tom_Jenkins

I´m doing a conversion from BMC AutoOperator to CA-OPS,  and not getting results with communications with mqseries.

In Autooperator we have the following results (via rxmqvc program):

 

CSQM401I MQ8  QUEUE(SENH.QL.REQ.EVENTO.SAP                          )

LOCAL  ) QSGDISP(SHARED    ) CURDEPTH(        13)                   

CSQ9022I MQ8 CSQMDRTS ' DISPLAY QLOCAL' NORMAL COMPLETION           

CSQM401I MQ8  QUEUE(GSEG.QL.REQ.IDMPR.GSEGMCPR.01                   )

LOCAL  ) QSGDISP(SHARED    ) CURDEPTH(         0)   

 

 

In OPS i try to:

 

 

address mq "connect qmgr(mq8) cohandle(hconn)"

 

address mq "open queue("qnam") options(ouput,set,browse)",

                    "conhandle(hconn) objhandle(hobj)"

 

But....

 

When i try to do.....    address mq GET... i dont have response

 

doc:

 

 

ADDRESS MQ GET OPTIONS([TRUNCATE] [KEEP] [CORRELID(corr)] [WAIT(time)] [CONVERT(ccsid)])    {CONHANDLE(varHCONN)}    {OBJHANDLE(varHOBJ)}    {DATA(varDATA)}

 

how do i use "get function" to get info and send a wto (or record to variable) with content of the response?

Does anyone have a sample of a rexx that worked?

Thank you.

Marcio.

Outcomes