I have used AMQSPUTC to do this. Provided each line in the text file ends with a carriage return, it works fine.
-----Original Message----- From: Tom Nauta [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 1:18 PM To: [EMAIL PROTECTED] Subject: AMQSPUTW and AMQSPUT4C - sample programs with file input One of our developers was asking for a program that would input a file and put each line of the file onto a MQ queue. The V5.2 Application Programming Guide (Chapter 34) talks about sample programs called 'amqsputw' and 'amqsput4c' which appears to be what I want. However, I can not find these programs; I can find 'amqsputc' but not the others. I have checked on a V5.2 HP-UX Client, a V5.3 HP-UX client, V5.2 AIX client, V5.3 Windows client, V52. and V5.3 AIX servers and can't find them anywhere. Can someone point me in the right direction, please ? Tom NOTICE: This confidential e-mail message is only for the intended recipient(s). If you are not the intended recipient, be advised that disclosing, copying, distributing, or any other use of this message, is strictly prohibited. In such case, please destroy this message and notify the sender. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive