ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » AS400 - Triggering - CLP

Post new topic  Reply to topic
 AS400 - Triggering - CLP « View previous topic :: View next topic » 
Author Message
smite0hb
PostPosted: Fri Sep 29, 2006 6:11 am    Post subject: AS400 - Triggering - CLP Reply with quote

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...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Sep 30, 2006 5:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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
Back to top
View user's profile Send private message Send e-mail
interactivechannel
PostPosted: Tue Oct 03, 2006 5:47 am    Post subject: Reply with quote

Voyager

Joined: 20 May 2003
Posts: 94
Location: uk

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:

PGM PARM(&PARAM)
DCL VAR(&PARAM) TYPE(*CHAR) LEN(684)
CALL PGM(....) PARM(...)
ENDPGM
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AS400 - Triggering - CLP
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.