Hello all,
I am in the process of writing an MQ scripting utility program which I
intend to release as a supportpac. I'd appreciate the help of anyone
prepared to review the Users Guide in terms of what you like or dislike
about the utility and any other general comments you'd care to make. Email
me directly if you'd like a copy of the doco. I've included a sample script
below to give an idea of what the utility is like.
Regards
Tim Armstrong
<?xml version="1.0"?>
<EAITest>
<Control>
<QMgr>MYQMGR</QMgr>
<Channel>MY.SVRCONN</Channel>
<Host>myhost</Host>
<Port>1414</Port>
<TestLog>
<File>EAI_Test.log</File>
<Dir>c:\EAI\Tests</Dir>
</TestLog>
<TestReport>
<File>EAI_Test.rpt</File>
<Dir>c:\EAI\Tests</Dir>
</TestReport>
<TestMaxWait>30</TestMaxWait>
<NextLogMsgInterval>1</NextLogMsgInterval>
<Concurrency>2</Concurrency>
<ConcurrencyWait>20</ConcurrencyWait>
<OnError>LOG</OnError>
</Control>
<Defaults>
<Str Name="Dir">c:\EAI\Tests</Str>
<GetMsg><Q>EAI.TEST.OUT</Q></GetMsg>
<PutMsg><Q>EAI.TEST.OUT</Q></PutMsg>
</Defaults>
<Test Name="#1 RequestReply">
<GetFile><File>FileIn.txt</File></GetFile>
<!-- Use explicitly declared MQMD variables -->
<MQMD Name="MD01"><MsgId/><CorrelId>REQREP</CorrelId></MQMD>
<PutMsg MQMD="MD01"/>
<MQMD Name="MD01"><MsgId/><CorrelId>%MsgId%</CorrelId></MQMD>
<GetMsg MQMD="MD01">
<PutFile><File>FileOut.txt</File></PutFile>
</Test>
<Test Name="#2 EchoRequestReply">
<!-- Use implicit MQMD variables available to GetMsg and PutMsg -->
<GetMsg><MsgId/><CorrelId>REQREP</CorrelId></GetMsg>
<WaitOnTime><Interval>2</Interval></WaitOnTime>
<PutMsg><MsgId/><CorrelId>%MsgId%</CorrelId></PutMsg>
</Test>
</EAITest>
This email and any attachments may contain privileged and
confidential information and are intended for the named
addressee only. If you have received this e-mail in error,
please notify the sender and delete this e-mail immediately.
Any confidentiality, privilege or copyright is not waived or
lost because this e-mail has been sent to you in error. It
is your responsibility to check this e-mail and any
attachments for viruses.