Posted: Thu May 10, 2007 6:22 am Post subject: Trigger Monitor to write files on disk
Voyager
Joined: 07 Mar 2003 Posts: 89
Hello,
I have a MQSeries Version 5.3 CSD05 on a HP Unix Platform.
I have configured a trigger monitor on a queue that reads and writes files on specific directory on the disk.
The problem is that there are more files in a day (12 or 15 files per day) so i must find a thing that the files will not be overwritten. For that must a program a script code under Unix or could it exist variables in MQSeries that automaticly writes the files with the timestamp (YYYYMMDDHHMMSS).
Here our configuration parameters on the queue:
Process Name : QHMC.IF.IMPORT
Initation Queue Name : QHMC.IF.INITQ
trigger data : /interface/data/ispd_inv/C15AFC.txt
Here are the configuration on the Process :
Application : /home/mqm/source/mqget
So if you can tell me how to configure perhaps automaticly the trigger data with a time stamp.
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Firstly - CSD05 is very old. Upgrade.
Secondly - I think you mean a triggered application, rather than a trigger monitor. But in either event, it's just a piece of code written to a given standard. If you want to stick a time stamp in the file name, find the piece of code that generates the file name & modify it to include a time stamp. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum