Author |
Message
|
harsha8127 |
Posted: Wed Feb 03, 2016 10:13 pm Post subject: |
|
|
Acolyte
Joined: 25 Nov 2013 Posts: 72
|
Vitor wrote: |
akkypaul wrote: |
Using the form for learning is a wrong thing to do?
I do not follow. |
We're not a training resource and are simply not equipped to be. We exist as a group to offer advice on specific questions. Attempting to get actual training from a bunch of unaccountable part time strangers is not only a road to pain and misery, you end up with a poor result.
akkypaul wrote: |
I just tried to help them out with what I could.
It is, at least, better than nothing. |
No, it wasn't better than nothing. It was not good code nor was it in line with IIB best practices. The problem is that inexperienced personnel (like the OP) will be misled by this and go down a rabbit hold.
akkypaul wrote: |
All the replies above just asked questions and told them to alter the entire mechanism. |
We ask questions because we can't see the OP's screen. I don't see any point where we said to change "the entire mechanism" - you were the one who suggested moving from MQ to Files.
akkypaul wrote: |
Maybe it's their requirement to do it this way. |
I'm guessing that their requirement is to do it the way the OP posted they wanted to do it; i.e. over MQ.
akkypaul wrote: |
In any case, it seems like you guys are the masters here and I expected better replies and REAL help as a reply. |
There was real help. We can't write the OPs code for them
akkypaul wrote: |
But I am glad I should serve as an entertainer. |
Bad advice is not entertaining. And I'm the comic relief. |
HI vitor ,
iam not asking anyone to train me or give the complete code. As i said Iam new to MB and I took training from IBM. they did not train me or nether told me how to construct a msg.
Now shud i blame IBM.
I am just asking help how to do and not what to do.
If your not intrested in helping out plz do not sir. but dnt ask other people not to do.
sry if i spoke any thing wrong. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 04, 2016 5:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You should make sure to examine the structure of the logical message tree you are sending to the output node.
This is best accomplished using a Trace node. It can be very helpful to have that write to User Trace, as you then get a trace of what your flow actually does in addition to what the message tree looks like. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 04, 2016 6:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20767 Location: LI,NY
|
You seem to just add the MQMD with an RFH2 header... format
So where is your RFH2 header ?
And you're surprised when you get an error?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
timber |
Posted: Thu Feb 04, 2016 6:06 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
You can attach source to the debugger by clicking on the 'Attach source' button and selecting 'Message flow container'.
But mqjeff is correct. You will get more useful information from User Trace and Trace nodes ( those two are not the same thing ).
Tip: The debugger will show you the ExceptionList when there is an error. It will not give you the text of the error. User Trace will. |
|
Back to top |
|
 |
joebuckeye |
Posted: Thu Feb 04, 2016 6:42 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
harsha8127 wrote: |
As i said Iam new to MB and I took training from IBM. they did not train me or nether told me how to construct a msg. |
They must have really changed the training since I took it then. I seem to remember many labs where we were creating messages. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 04, 2016 6:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
harsha8127 wrote: |
iam not asking anyone to train me or give the complete code. |
My point was this is a bad place to get training from, and we can't give you the complete code because we don't know your requirements. The other poster's posted example ignored the two requirements we do know (the use of MQ and a flat file structure)
harsha8127 wrote: |
I took training from IBM. they did not train me or nether told me how to construct a msg. |
You took an official IBM IIB training course that "did not train" you and didn't even cover message formats??
harsha8127 wrote: |
Now shud i blame IBM. |
Yes you should, to the point you should get a refund. They should have at least mentioned that IIB flat files should be modeled in DFDL not the still-supported-but-functionally-stabilized MRM.
harsha8127 wrote: |
I am just asking help how to do and not what to do. |
Model the file in DFDL, which will enable you to prototype it in the Toolkit and make needed corrections without running the flow. Use the advice given by my worthy associates to debug and diagnose problems when you run the flow. Get a refund from IBM and better training.
harsha8127 wrote: |
but dnt ask other people not to do. |
I will continue to ask people not to provide misleading or inaccurate help, especially to people like yourself starting out.
Better help is that offered by my associate surrounding the RFH2, or the lack of an RFH2 despite coding the MQMD to indicate it's presence.
The best help is the multiple suggestions to use a Trace node.
sry if i spoke any thing wrong.[/quote] _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|