Configuring the JD Edwards EnterpriseOne Server Components
Inbound to JD Edwards EnterpriseOne and Outbound to a Third-Party System
You set up your JD Edwards EnterpriseOne server so that the system can receive an inbound message from a third-party system or application and respond by placing an outbound message in the outbound queue. Complete these tasks:
Create the WebSphere MQ Queue Manager.
Start the WebSphere MQ Queue Manager.
Create MQ local queues.
Create a MQ remote queue.
Create a MQ local sender channel.
Create a MQ local receiver channel.
Grant authority to all queues and channels.
Reset a channel.
To create the IBM WebSphere MQ Queue Manager
On the JD Edwards EnterpriseOne server, create the IBM WebSphere MQ Queue Manager by issuing this command from the iSeries Command Entry command line:
CRTMQM MQMNAME(JDE_QMGR) TEXT('JD Edwards queue manager') DFTQMGR(*YES)
To start the IBM WebSphere MQ Queue Manager
On the JD Edwards EnterpriseOne server, start the IBM WebSphere MQ Queue Manager by issuing this command on the command line:
STRMQM MQMNAME(JDE_QMGR)
The display returns this:
Ownership of object QXCSGLOBAL in QTEMP type *USRSPC changed. Ownership of object QXCSGLOBAL in QTEMP type *USRSPC changed. Ownership of object QXSX455240 in QMQMDATA type *USRQ changed. Ownership of object QXSX455240 in QMQMDATA type *USRQ changed. Ownership of object QMQMLOCAL in QTEMP type *USRSPC changed. Ownership of object QMQMLOCAL in QTEMP type *USRSPC changed. Ownership of object QXSA00021 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00021 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00022 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00022 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00023 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00024 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00024 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00025 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00025 in QMQMDATA type *USRSPC changed. Ownership of object QXSZ00006 in QMQMDATA type *USRQ changed. Ownership of object QXSZ00006 in QMQMDATA type *USRQ changed. Ownership of object QXSA00026 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00026 in QMQMDATA type *USRSPC changed. Ownership of object QXSZ00007 in QMQMDATA type *USRQ changed. Ownership of object QXSZ00007 in QMQMDATA type *USRQ changed. Ownership of object QXSB00005 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00027 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00027 in QMQMDATA type *USRSPC changed. Ownership of object QXSZ00008 in QMQMDATA type *USRQ changed. Ownership of object QXSZ00008 in QMQMDATA type *USRQ changed. Ownership of object QXSA00028 in QMQMDATA type *USRSPC changed. Ownership of object QXSA00028 in QMQMDATA type *USRSPC changed. 11 entries received from journal AMQAJRN in QUSRSYS. Ownership of object QXLEQ00001 in QMQMDATA type *USRQ changed. Ownership of object QXLEQ00001 in QMQMDATA type *USRQ changed. Object QXSX455240 in QMQMDATA type *USRQ deleted. Message Queue Manager started
To create MQ local queues
You must create these local queues:
INBOUND.Q
SUCCESS.Q
ERROR.Q
DEFRES.Q
OUTBOUND.Q.XMIT
Access the JD Edwards EnterpriseOne server.
To change the default local queue, enter this command on the command line:
CHGMQMQ QNAME(SYSTEM.DEFAULT.LOCAL.QUEUE) QTYPE(*LCL) TEXT('Default local queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) PRCNAME(*NONE) TRGENBL(*NO) GETENBL(*YES) SHARE(*YES) DFTSHARE(*YES) MSGDLYSEQ(*FIFO) HDNBKTCNT(*YES) TRGTYPE(*NONE) TRGDEPTH(1) TRGMSGPTY(0) TRGDATA(*NONE) RTNITV(999999999) MAXDEPTH(640000) MAXMSGLEN(4194304) BKTTHLD(0) BKTQNAME(*NONE) INITQNAME(*NONE) USAGE(*NORMAL) HIGHTHLD(100) LOWTHLD(0) FULLEVT(*YES) HIGHEVT(*YES) LOWEVT(*YES) SRVITV(999999999) SRVEVT(*NONE) DISTLIST(*NO)
To create the local queues, enter these IBM WebSphere MQ commands:
CRTMQMQ QNAME(INBOUND.Q) QTYPE(*LCL) TEXT('JD Edwards EnterpriseOne inbound queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) CRTMQMQ QNAME(SUCCESS.Q) QTYPE(*LCL) TEXT(' JD Edwards EnterpriseOne success queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) CRTMQMQ QNAME(ERROR.Q) QTYPE(*LCL) TEXT(' JD Edwards EnterpriseOne error queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) CRTMQMQ QNAME(DEFRES.Q) QTYPE(*LCL) TEXT(' JD Edwards EnterpriseOne default response queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) CRTMQMQ QNAME(OUTBOUND.Q.XMIT) QTYPE(*LCL) TEXT(' JD Edwards EnterpriseOne inbound queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) USAGE(*TMQ)
To create the MQ remote queue
Access the JD Edwards EnterpriseOne server.
To change the default remote queue, enter this command on the command line:
CHGMQMQ QNAME(SYSTEM.DEFAULT.REMOTE.QUEUE) QTYPE(*RMT) TEXT('Default remote queue') PUTENBL(*YES) DFTPTY(9) DFTMSGPST(*YES) TMQNAME(*NONE) RMTQNAME(' ') RMTMQMNAME(' ')
To create the live remote queue, enter this command:
CRTMQMQ QNAME(OUTBOUND.Q) QTYPE(*RMT) TEXT('JD Edwards EnterpriseOne outbound queue to NC system') TMQNAME(OUTBOUND.Q.XMIT) RMTQNAME(ECE_IN2MQI) RMTMQMNAME(ECE_MQI_QMGR)
Note: ECE_IN2MQI is the third-party remote queue name and ECE_MQI_QMGR is the third-party queue manager name.
To create a MQ local sender channel
Access the JD Edwards EnterpriseOne server.
To change the default local sender channel, enter this command on the command line:
CHGMQMCHL CHLNAME(SYSTEM.DEF.SENDER) CHLTYPE(*SDR ) TRPTYPE(*TCP) TEXT('Default Sender channel') CONNAME(' ') TMQNAME(' ') BATCHSIZE(9999) DSCITV(0) SHORTTMR(999999999) SHORTRTY(999999999) LONGTMR(999999999) SCYEXIT(*NONE) SCYUSRDATA(*NONE) SNDEXIT(*NONE) SNDUSRDATA(*NONE) RCVEXIT(*NONE) RCVUSRDATA(*NONE) MSGEXIT(*NONE) MSGUSRDATA(*NONE) SEQNUMWRAP(999999999) MAXMSGLEN(4194304) CVTMSG(*NO) HRTBTINTVL(999999) NPMSPEED(*FAST)
To create the live local sender channel, enter this command{
CRTMQMCHL CHLNAME(OW2MQI_CHL) CHLTYPE(*SDR ) TRPTYPE(*TCP) TEXT('Sender channel to NC system') CONNAME('NC Server Name') TMQNAME(OUTBOUND.Q.XMIT)
To create an MQ local receiver channel
Access the JD Edwards EnterpriseOne server.
To change the default local receiver channel, enter this command on the command line:
CHGMQMCHL CHLNAME(SYSTEM.DEF.RECEIVER) CHLTYPE(*RCVR) TRPTYPE(*TCP) TEXT('Default Receiver channel') BATCHSIZE(9999) SCYEXIT(*NONE) SCYUSRDATA(*NONE) SNDEXIT(*NONE) SNDUSRDATA(*NONE) RCVEXIT(*NONE) RCVUSRDATA(*NONE) MSGEXIT(*NONE) MSGUSRDATA(*NONE) PUTAUT(*DFT) SEQNUMWRAP(999999999) MAXMSGLEN(4194304) HRTBTINTVL(999999) NPMSPEED(*FAST)
To create the live local receiver channel, enter this command:
CRTMQMCHL CHLNAME(MQI2OW_CHL ) CHLTYPE(*RCVR)TRPTYPE(*TCP) TEXT('Receiver channel from third-party system')
To grant authority to all queues and channels
You need to give authority to JD Edwards EnterpriseOne and to all of the queues and channels.
Access the JD Edwards EnterpriseOne server.
Enter these commands on the command line:
GRTMQMAUT OBJ(JDE_QMGR) OBJTYPE(*MQM) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(DEFRES.Q) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(ERROR.Q) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(INBOUND.Q) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(OUTBOUND.Q) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(SUCCESS.Q) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(SYSTEM.DEFAULT.LOCAL.QUEUE) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL) GRTMQMAUT OBJ(SYSTEM.DEFAULT.REMOTE.QUEUE) OBJTYPE(*Q) USER(JD Edwards EnterpriseOne) AUT(*ALL)
To reset a channel
If a channel becomes inactive, you can use this command to reset the channel:
RSTMQMCHL CHLNAME(channel_name)