Subject: | Trigger program throws error |
Hi,
I'm trying to write a trigger program. I use the code shown in the CPAN Description for MQSeries::Message::Trigger (using my qname and qmgrname). I issue the runmqtrm for my qmgr and it looks ok. I then trigger the trigger and get the following message.
Waiting for a trigger message """
/var/mqm/triggers/soaktrig.pl 'TMC 2SOAK.TEST SOAK.TEST.PROCESS /var/mqm/triggers/soaktrig.pl mqs001s.queue.manager '
Can't use an undefined value as a HASH reference at /usr/lib/perl5/site_perl/5.8.0/s390-linux-thread-multi/MQSeries/Message/Trigger.pm line 23.
Compilation failed in require at /var/mqm/triggers/soaktrig.pl line 2.
BEGIN failed--compilation aborted at /var/mqm/triggers/soaktrig.pl line 2.
End of application trigger
""""
Where did I go wrong? Platform is SUSE Linux on zSeries.