Howdy, I do this, it is quite easy, below is a test script I used, should be usable for you.
#!/usr/bin/ksh cd /tmp/mqtmp echo "====================" >> mq.log echo `date` >> mq.log echo $1 >> mq.log QUEUE=`echo $1 | cut -c6-40| cut -d" " -f1` echo "Files in tmp dir BEFORE [`ls -la | wc -l`]" >> mq.log echo "Perform fetch from [$QUEUE]" >> mq.log mqget $QUEUE > /dev/null echo "Files in tmp dir AFTER [`ls -la | wc -l`]" >> mq.log echo "====================" >> mq.log exit 0 -----Original Message----- From: Bas Bekker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 24 July 2002 5:52 PM To: [EMAIL PROTECTED] Subject: triggering AIX Korn Shell script Has anybody an example how to trigger a Korn Shell script under AIX? Preferably with Korn shell processing and/or with Java program using MA88 base MQ classes That would be the the process definition, the script and Java pgm Thanks, Bas 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 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
