ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » sending multiline message to MQ queue using amqsput

Post new topic  Reply to topic
 sending multiline message to MQ queue using amqsput « View previous topic :: View next topic » 
Author Message
narayanarvr
PostPosted: Tue Oct 11, 2022 12:29 am    Post subject: sending multiline message to MQ queue using amqsput Reply with quote

Voyager

Joined: 09 Oct 2012
Posts: 84

Hi All,

Please is there any way to send multiline message using amqsput to MQ queue?
example:
abc
def
ghi

all should be sent as a single message.

thanks inadvance.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Oct 11, 2022 4:01 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

No. Supplied sample amqsput accepts one input string from STDIN to create one message.

Source code is provided. You can modify it to behave differently.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
tczielke
PostPosted: Wed Oct 12, 2022 10:23 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

Here are some options that IBM MQ has documented.

https://www.ibm.com/support/pages/what-options-are-available-putting-contents-file-messages-mq-queue-mft-amqsputc-ma01-qexe-mh06-mqfile2msg-ih03-rfhutil-gui
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
Aravindh
PostPosted: Fri Jan 06, 2023 1:12 am    Post subject: Reply with quote

Newbie

Joined: 07 Apr 2021
Posts: 9

its not possible with sample amqsput.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » sending multiline message to MQ queue using amqsput
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.