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 » WebSphere Message Broker (ACE) Support » ESQL 101 question

Post new topic  Reply to topic
 ESQL 101 question « View previous topic :: View next topic » 
Author Message
schroederms
PostPosted: Fri Jun 08, 2007 5:36 am    Post subject: ESQL 101 question Reply with quote

Disciple

Joined: 21 Jul 2003
Posts: 169
Location: IA

I know I've done this before, I can't find where I did it, and I can not find and example in the HELP to do what I want to do.

This is my issue, I want to set the Root tag name on OutputRoot.XMLNSC to be what the tag name is from a FIELDNAME function.

Set Environment.Temp.Tagname = Fieldname(Environment.XMLNSC.REQUEST.APP.R3[Environment.PROGRESS.PROCESSED].*[1]);

The value of Environment.Temp.Tagname is Z_RFC_SAMPLE, so in reality I want the Output tree to look like this:

XMLNSC.Z_RFC_SAMPLE.........

What do I need to do? Thanks.


Here is my Environment input :
0x01000000):XMLNSC = (
(0x01000400):XmlDeclaration = (
(0x03000100):Version = '1.0'
(0x03000100):Encoding = 'UTF-8'
)
(0x01000000):REQUEST = (
(0x01000000):CONTROL = (
(0x03000000):ORIGINATOR = 'Schroeder's App'
(0x03000000):ORIGIN_DATETIME = 'Mon Apr 19 11:25:09 CDT 2007'
(0x03000000):SERVICE = 'AIS'
(0x03000000):FUNCTION = 'AIS_BATCH_INTEGRATION'
(0x01000000):DESTINATION = (
(0x03000000):INSTANCE = 'DV2'
(0x03000000):CLIENT = '120'
)
(0x03000000):VERSION = '1.1'
(0x03000000):PERSISTENCE = 'Y'
(0x03000000):REALTIME = 'N'
(0x03000000):AUDIT_LOG = 'Y'
(0x01000000):ROUTER_MSGTIMES = (
(0x03000000):GMTMSGSTART = '2007-06-08 13:29:11.607854'
(0x03000000):GMTMSGCOMPLETION = '2007-06-08 13:29:11.607854'
)
)
(0x01000000):APP = (
(0x01000000):INTEGRATION = (
(0x03000000):APP_ID = 'GCIS'
(0x03000000):PLANT = 'YOR1'
(0x03000000):INTEGRATION_ID = '237'
)
(0x01000000):R3 = (
(0x01000000):Z_RFC_SAMPLE = (
(0x01000000):GRDATA = (
(0x01000000):item = (
(0x03000000):MATNR = '1'
(0x03000000):CHARG = '0'
(0x03000000):ERFMG = '17 00.00'
(0x03000000):ERFME = 'KG'
(0x03000000):XBLNR = '27.J.10'
(0x03000000):REMARKS = 'Season: 2007 Bag number: 27.J.10 Planting Sheet:
R1PNE11367'
)
)
)
(0x01000000):RFC_STATUS = (
(0x03000000):RFC_CODE = '0'
(0x03000000):RFC_DESCRIPTION = 'COMPLETED'
(0x03000000):RFC_CREATE_DATETIME = '2007-04-19 11:06:27.698273'
)
)
(0x01000000):R3 = (
(0x01000000):Z_RFC_SAMPLE = (
(0x01000000):GRDATA = (
(0x01000000):item = (
(0x03000000):MATNR = '2'
(0x03000000):CHARG = '0'
(0x03000000):ERFMG = '17 00.00'
(0x03000000):ERFME = 'KG'
(0x03000000):XBLNR = '27.J.10'
(0x03000000):REMARKS = 'Season: 2007 Bag number: 27.J.10 Planting Sheet:
R1PNE11367'
)
)
)
(0x01000000):RFC_STATUS = (
(0x03000000):RFC_CODE = '0'
(0x03000000):RFC_DESCRIPTION = 'COMPLETED'
(0x03000000):RFC_CREATE_DATETIME = '2007-04-19 11:06:27.698273'
)
)
(0x01000000):R3 = (
(0x01000000):Z_RFC_SAMPLE = (
(0x01000000):GRDATA = (
(0x01000000):item = (
(0x03000000):MATNR = '3'
(0x03000000):CHARG = '0'
(0x03000000):ERFMG = '17 00.00'
(0x03000000):ERFME = 'KG'
(0x03000000):XBLNR = '27.J.10'
(0x03000000):REMARKS = 'Season: 2007 Bag number: 27.J.10 Planting Sheet:
R1PNE11367'
)
)
)
(0x01000000):RFC_STATUS = (
(0x03000000):RFC_CODE = '1'
(0x03000000):RFC_DESCRIPTION = 'SOME ERROR MESSGE FROM SAP'
(0x03000000):RFC_CREATE_DATETIME = '2007-04-19 11:06:27.698273'
)
)
(0x01000000):R3 = (
(0x01000000):Z_RFC_SAMPLE = (
(0x01000000):GRDATA = (
(0x01000000):item = (
(0x03000000):MATNR = '4'
(0x03000000):CHARG = '0'
(0x03000000):ERFMG = '17 00.00'
(0x03000000):ERFME = 'KG'
(0x03000000):XBLNR = '27.J.10'
(0x03000000):REMARKS = 'Season: 2007 Bag number: 27.J.10 Planting Sheet:
R1PNE11367'
)
)
)
)
(0x01000000):R3 = (
(0x01000000):Z_RFC_SAMPLE = (
(0x01000000):GRDATA = (
(0x01000000):item = (
(0x03000000):MATNR = '5'
(0x03000000):CHARG = '0'
(0x03000000):ERFMG = '17 00.00'
(0x03000000):ERFME = 'KG'
(0x03000000):XBLNR = '27.J.10'
(0x03000000):REMARKS = 'Season: 2007 Bag number: 27.J.10 Planting Sheet:
R1PNE11367'
)
)
)
)
(0x01000000):R3 = (
(0x01000000):Z_RFC_SAMPLE = (
(0x01000000):GRDATA = (
(0x01000000):item = (
(0x03000000):MATNR = '6'
(0x03000000):CHARG = '0'
(0x03000000):ERFMG = '17 00.00'
(0x03000000):ERFME = 'KG'
(0x03000000):XBLNR = '27.J.10'
(0x03000000):REMARKS = 'Season: 2007 Bag number: 27.J.10 Planting Sheet:
R1PNE11367'
)
)
)
)
(0x01000000):SAP_INTEGRATION_ID =
)
(0x01000000):STATUS = (
(0x03000000):CODE = '0'
(0x03000000):DESCRIPTION = 'SUCCESSFUL'
)
)
)
(0x01000000):PROGRESS = (
(0x03000000):APP_ID = 'GCIS'
(0x03000000):APP_ID_EMAIL_DISTLIST = 'Need to load this off a table'
(0x03000000):INTEGRATION_ID = '237'
(0x03000000):PLANT = 'YOR1'
(0x03000000):R3_TRANS_TOTAL = 6
(0x03000000):PROCESSED = 1
)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jun 08, 2007 5:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Set OutputRoot.XMLNSC.[1] NAME = Environment.Temp.Tagname
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
schroederms
PostPosted: Fri Jun 08, 2007 6:12 am    Post subject: Reply with quote

Disciple

Joined: 21 Jul 2003
Posts: 169
Location: IA

Thanks Jeff, that did it.
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 » WebSphere Message Broker (ACE) Support » ESQL 101 question
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.