On all platforms except i5/OS
The samples need a set of queues to work with. Either use your own queues or run the sample MQSC file amqscos0.tst to create a set.
To do this on UNIX systems, enter:
- runmqsc QManagerName <amqscos0.tst >⁄tmp⁄sampobj.out
Check the sampobj.out file to ensure that there are no errors.
To do this on Windows systems enter:
- runmqsc QManagerName <amqscos0.tst > sampobj.out
Check the sampobj.out file to ensure that there are no errors. This file is in your current directory.
We can now run the sample applications. Enter the name of the sample application followed by any parameters, for example:
- amqsput myqueue qmanagername
where myqueue is the name of the queue on which the messages are going to be put, and qmanagername is the queue manager that owns myqueue.
See the description of the individual samples for information on the parameters that each of them expects.
Parent topic:
Running the sample programs
fg17100_