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 » Default Values in a mapping node using DFDL for Output

Post new topic  Reply to topic
 Default Values in a mapping node using DFDL for Output « View previous topic :: View next topic » 
Author Message
EricCox
PostPosted: Fri Jan 03, 2014 12:25 pm    Post subject: Default Values in a mapping node using DFDL for Output Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

To all,

It is my understanding that the Default value showing in the DFDL Message Model is currently not working and will be fixed in a later implementation of the DFDL parser.

Because of this how can I achieve the same behavior in the Mapping Node? Can I use some custom esql? Does anyone have an example of how to do this?

I don't see any example of how to do this in the documentation.

Thanks,
EMC
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 03, 2014 9:26 pm    Post subject: Reply with quote

Grand High Poobah

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

use a function like coalesce...
if you plan it nicely you can reuse the same function over and over again, passing the 2 arguments....

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Sat Jan 04, 2014 12:54 am    Post subject: Re: Default Values in a mapping node using DFDL for Output Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

EricCox wrote:
To all,

It is my understanding that the Default value showing in the DFDL Message Model is currently not working and will be fixed in a later implementation of the DFDL parser.

Because of this how can I achieve the same behavior in the Mapping Node? Can I use some custom esql? Does anyone have an example of how to do this?

I don't see any example of how to do this in the documentation.

Thanks,
EMC

what version of WMB are you using ? I have used DFDL defaulting and it works fine for me. What makes you think it does not ? I know it did not work in 8.0.0.0 but was fixed in 8.0.0.1
Back to top
View user's profile Send private message
EricCox
PostPosted: Mon Jan 06, 2014 6:21 am    Post subject: Reading and Try Again Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

FJ,

Happy New Year FJ.

After reading more on Friday I see how they want an ESQL Procedure and/or Function to provide this behavior.

And we are on 8.0.0.2. I will try it again to see if DFDL Default Value is working.

Thanks very much,
EMC
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jan 07, 2014 5:51 am    Post subject: Re: Reading and Try Again Reply with quote

Grand High Poobah

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

EricCox wrote:
FJ,

Happy New Year FJ.

After reading more on Friday I see how they want an ESQL Procedure and/or Function to provide this behavior.

And we are on 8.0.0.2. I will try it again to see if DFDL Default Value is working.

Thanks very much,
EMC


Make sure your effective level is at 8.0.0.2 as well!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
EricCox
PostPosted: Tue Jan 07, 2014 7:29 am    Post subject: Meaning Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

FJ,
What do you mean 'effective level'?
Thanks
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 07, 2014 8:12 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

look at the output from 'mqsireportbroker'

then look at the options for mqsichangebroker especially '-f'
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
EricCox
PostPosted: Tue Jan 07, 2014 8:35 am    Post subject: effective level Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

Fixpack capability level = '8.0.0.2' (effective level '8.0.0.2')
FYI
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 07, 2014 8:50 am    Post subject: Re: effective level Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

EricCox wrote:
Fixpack capability level = '8.0.0.2' (effective level '8.0.0.2')
FYI


That is good to know. Just remember to do a mqsichangebroker <broker> -f All
after you upgrade to 8.0.0.3
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » Default Values in a mapping node using DFDL for Output
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.