English 中文(简体)
采用CICS计算法撰写
原标题:write to mq queue using CICS comand
  • 时间:2023-05-26 20:14:43
  •  标签:
  • ibm-mq
  • cics

• 如何使用CICS计算师向mq添加信息?

I know how to add message to MQ by calling MQPUT, but the thing is that I´d like to do it using CICS commands. Can I write it the same as what we do for TD queue: ´WRITEQ MQ QUEUE(queue-name) ‌ from(data-area) Length(data-value) SYSID.´

问题回答

在多指标类集调查中,你可以使用EXEC CICS ITEQ TS指令,向一个网络星座MQ(WMQ)点发电。 这些辛迪加与你提到的情况相似,但与公务员制度委员会和世界性别、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、文化、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言、语言 这里是你如何利用电离层电离层电离层电离层电离层电离层电离层电荷的一个实例:

EXEC CICS WRITEQ TS QUEUE( queue-name ) FROM(data-area) LENGTH(data-value)
               INTO(data-area) LENGTH(data-value)
               MQFORMAT( MQRFH2 ) MQMD(data-area) MQOD(data-area)
               RESP(resp-area)

让我们通过参数:

  • QUEUE( queue-name ): Specifies the name of the MQ queue you want to write the message to.
  • FROM(data-area): Specifies the address of the data area that contains the message data you want to write.
  • LENGTH(data-value): Specifies the length of the message data.
  • INTO(data-area): Specifies the address of the data area where the response data, if any, is returned.
  • MQFORMAT( MQRFH2 ): Specifies the format of the message data.
  • MQRFH2 indicates that the message is in the MQRFH2 format.
  • MQMD(data-area): Specifies the address of the MQMD(Message Descriptor) data area. This contains information about the message, such as the message type, format, and other attributes.You need to populate this data area with the appropriate values before calling the WRITEQ TS command.
  • MQOD(data-area): Specifies the address of the MQOD (Object Descriptor) data area. This contains information about the MQ queue you want to write to, such as its name and other attributes. You also need to populate this data area with the appropriate values before calling the WRITEQ TS command.
  • RESP(resp-area): Specifies the address of the response area where the completion status of the WRITEQ TS command is returned.

确保拥有必要的CICS和WMQ资源,使一体化工作能够正确进行。

请注意,根据您的CICS和WMQ版本,具体表格和要求可能有所不同。 它始终建议参照各自的产品文件,以提供与你的环境相关的详细资料和实例。





相关问题
Setting LDAP Configuration in IBM Websphere Message Broker

I m a newbe for message broker. I m trying to create webservice security in message broker authenticated using LDAP. but the authentication is always fail in my SOAP message header I have specify ...

How can I get an existing JMS queue?

I feel like this is probably a pretty simple question, but this is my first foray into JMS, so I am a little unsure. I am trying to write to an existing JMS queue (and then read from another queue), ...

MQ EOL Data conversion

we are sending data trough MQ from a z/OS/CICS system to an AS400. Original encoding of the message is CCSID 500 with a MQSTR Format. The client application is getting the message with the CONVERT ...

Connecting to an MQ: Newbie question

I am a novice with Websphere MQ and require some novice help. I am using Websphere MQ Explorer to connect to a queue but do not know how to write the connection string. I have all the details (host, ...

热门标签