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 » Archives - All » MQ Visual Edit - HOW TO

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 MQ Visual Edit - HOW TO « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Mon Jul 26, 2004 8:13 pm    Post subject: MQ Visual Edit - HOW TO Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

MQ Visual Edit - HOW TO

Q. How do I load more than 1 file at a time to a queue?

A. Do the following steps:
    - Open the queue, click File->Open Queue and select your queue
    - Click Edit->Import Messages
    - Navigate to the directory
    - SINGLE left-click on the 1st file (do NOT double click or click open yet)
    - Now scroll to the last file and SINGLE left-click on the last file. Note: On some Operating Systems you need to press CTRL-SHIFT and Left click
    - Click Open
Each message will be loaded into the queue as a separate message. i.e. 1 message per file.
---------------------------------------------------------------------------------------------------
Q. How do I put the same message to a queue 1000 times?

A. Do the following steps:
    - Start the PutServer, click Tools->Put Server
    - Click Select and select your queue
    - Type the user data into the 'screen data' section,
    - Select the max number to write (i.e. 1000),
    - Then click 'Start'.
This will create 1000 new messages each with a unique MsgID value.
---------------------------------------------------------------------------------------------------
Q. How do I put the same message from a file to a queue 1000 times?

A. Do the following steps:
    - Start the PutServer, click Tools->Put Server
    - Click Select and select your queue
    - Click the 'Load message data from a text file' radio button
    - Click Browse and navigate to the directory and select a file name
    - Select the max number to write (i.e. 1000),
    - Then click 'Start'.
This will create 1000 new messages each with a unique MsgID value.
---------------------------------------------------------------------------------------------------
Q. How do I save both the MQMD and message data to a file?

A. Do the following steps:
    - Open the queue, click File->Open Queue and select your queue
    - Highlight the messages to be saved or click View->Select All to select all messages in the queue
    - Click File->Backup Queue
    - Navigate to the directory
    - Input a file name and with the extension of VEQ (i.e. mybackup.veq )
    - Click Save
This will backup the selected messages including both the MQMD and message data to a single file.
---------------------------------------------------------------------------------------------------
Q. How do I save messages to a plain text file?

A. Do the following steps:
    - Open the queue, click File->Open Queue and select your queue
    - Highlight the messages to be saved or click View->Select All to select all messages in the queue
    - Click Edit->Export Messages
    - Input a path and file name or click Browse and navigate to the directory and input a file name
    - Now decide where you want all messages written to the same plain text file or each message to a separate file.
    - Click Save
This will write the selected messages to plain text files or to one single plain text file.
---------------------------------------------------------------------------------------------------
Q. How do I do replay messages?

A. First save the messages to be replayed by doing the following steps:
    - Open the queue, click File->Open Queue and select your queue
    - Highlight the messages to be saved or click View->Select All to select all messages in the queue
    - Click File->Backup Queue
    - Navigate to the directory
    - Input a file name and with the extension of VEQ (i.e. mybackup.veq )
    - Click Save
Now whenever the user wants to replay the saved set of messages just do the following:
    - Open the queue, click File->Open Queue and select your queue
    - Click File->Restore Queue
    - Navigate to the directory and select the VEQ file and then click Open
    - The saved messages will be put to the queue
This will EXACTLY replay the saved messages. Exactly means the originally saved MsgID, CorrelID, etc... fields of MQMD will be used for the new messages.
---------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » Archives - All » MQ Visual Edit - HOW TO
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.