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 » Environment.Variables not storing complete XML?

Post new topic  Reply to topic
 Environment.Variables not storing complete XML? « View previous topic :: View next topic » 
Author Message
Carl Bloy
PostPosted: Wed Sep 19, 2007 7:55 am    Post subject: Environment.Variables not storing complete XML? Reply with quote

Acolyte

Joined: 16 Dec 2003
Posts: 69
Location: England

Hi All,

I'm sure i'm doing something stupid, but can't find the answer anywhere

Not sure if anyone has come across this before? but the following command doesn't store the complete XML tree in the environment variable?

SET Environment.Variables.DSER = InputRoot.XMLNS.Promise;

Trace extract included...

(0x01000010):XMLNS = (
(0x01000000):Promise = (
(0x01000000):SuggestedOption = (
(0x01000000):Option = (
(0x03000000):RsvdID = '1000000'
(0x03000000):HasAnyUnavailableQty = 'Y'
(0x01000000):PromisedServiceLines = (
(0x01000000):PromisedService = (
(0x03000000):ResourcePoolID = '9999999'
(0x03000000):ServiceSlotDesc = 'aaaaaaaa'
(0x03000000):StartTime = '9:00'
(0x03000000):EndTime = '10:00'
(0x01000000):Assignment = (
(0x03000000):ApptDate = '2007-07-07'
)
)
)
)
)
)
)
)

(
(0x01000000):Variables = (
(0x01000000):DSER = (
(0x01000000):SuggestedOption = (
(0x01000000):Option = (
(0x03000000):RsvdID = '1000000'
(0x03000000):HasAnyUnavailableQty = 'Y'
(0x01000000):PromisedServiceLines = (
(0x01000000):PromisedService = (
(0x03000000):ResourcePoolID = '9999999'
(0x03000000):ServiceSlotDesc = 'aaaaaaaa'
(0x03000000):StartTime = '9:00'
(0x03000000):EndTime = '10:00'
(0x03000000):Assignment = ''

Another example....


SET Environment.Variables.DSRR = InputRoot.XMLNS.CapacityReservationList;

(0x01000010):XMLNS = (
(0x01000000):CapacityReservationList = (
(0x01000000):CapacityReservation = (
(0x03000000):ReservationResult = 'reserved'
(0x03000000):ReservationID = '50000000'
)
)
)
)

(
(0x01000000):Variables = (
(0x01000000):DSRR = (
(0x03000000):CapacityReservation = ''
)
)
)



Any ideas much appreciated......
_________________
Regards
Carl
Back to top
View user's profile Send private message Visit poster's website
elvis_gn
PostPosted: Wed Sep 19, 2007 9:09 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Carl Bloy,

Please search the forum for "Environment Domain XMLNS", you'll get what you need.

There are soooo many links for this that I got lost finding you a good one, so once a link leads you to a solution, please add it here for future reference

Regards.
Back to top
View user's profile Send private message Send e-mail
Carl Bloy
PostPosted: Wed Sep 19, 2007 9:22 am    Post subject: Reply with quote

Acolyte

Joined: 16 Dec 2003
Posts: 69
Location: England

Many thanks for hint...

I did search for Environmnet.variables but couldn't find anything of real use. I think I may have found what i need now, i'll post the relevant link here once i've tried it out.

You may of saved me a weekend at work....

Keep up the good work...

Regards
_________________
Regards
Carl
Back to top
View user's profile Send private message Visit poster's website
Carl Bloy
PostPosted: Wed Sep 19, 2007 11:25 pm    Post subject: Resolved. Reply with quote

Acolyte

Joined: 16 Dec 2003
Posts: 69
Location: England

I can't find the link I used anymore, but this is what I did to resolve the issue.

-- Initialise Environment Tree to preserve XML structure
CREATE LASTCHILD OF Environment.Variables Domain 'XMLNS' Name 'DSER';
-- Copy XML structure to environment variables
SET Environment.Variables.DSER = InputRoot.XMLNS.Promise;

Regards
_________________
Regards
Carl
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Environment.Variables not storing complete XML?
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.