Posted: Fri Sep 29, 2006 6:11 am Post subject: AS400 - Triggering - CLP
Novice
Joined: 19 May 2006 Posts: 24
I have set up the triggering process on my AS400(MQ 6.) V5R3.. it works and calls the clp program that is defined in the process. My issue is that when it call the clp program, the clp program dies.. the joblog states the issue is the parameters dont match the clp program being called.. the clp program is just a simple snddoc command and the clp requires no parmametes.. in the redbook it stated MQ on the iseres passes the MQTMC2 stucture.. so I then added those parms to the clp program and still got the same issue.. Has any one used a clp program to be called from a process? I cant find any examples for clp.. Any help would be appreciated...
Don't know how AS400 works but you have to take into account how the MQTMC2 structure will be interpreted by whatever process you are passing it to. You may have to go to some extremes like in unix to encase it in quotes if passing it down the road to a shell script.
As well you do realize that the user running/submitting this program would be the user under which the trigger monitor is running?
Think as well about differences between attended and unattended run modes...
Finally run the trigger monitor in the foreground and checkout its output...
Hope this helps a little bit to trouble shoot.
Enjoy _________________ MQ & Broker admin
There used to be a redbook for using MQ on AS400. If you can find a copy and follow the example you should get over your problem (I did in the past). The key bits for the CL are:
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