|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Getting Fail function aborted error in IIB Flow (Using WTX) |
« View previous topic :: View next topic » |
Author |
Message
|
markshankar |
Posted: Thu Sep 06, 2018 6:52 am Post subject: Getting Fail function aborted error in IIB Flow (Using WTX) |
|
|
Novice
Joined: 14 Nov 2017 Posts: 14
|
Hi All,
I am using WTX map in IIB flow, when the payload coming across WTX node, I am getting below Error (Captured from user trace)
<ExecutionSummary MapStatus="Error" mapreturn="30" ElapsedSec="0.005" BurstRestartCount="0">
<Message>FAIL function aborted map:Run failed with error: 4 - Could not read map</Message>
My flow has been deployed in Unix where my broker is running.. But here the interesting thing is when i deployed same flow in my local broker (windows), i could see success transaction.
Please let me know the solution if any one knows or meet by chance.
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Thu Sep 06, 2018 7:07 am Post subject: Re: Getting Fail function aborted error in IIB Flow (Using W |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
markshankar wrote: |
My flow has been deployed in Unix where my broker is running. |
Deployed how? Deployed where? How does the flow know where to find it, i.e. what configuration do you have specifying WTX map location? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 06, 2018 7:52 am Post subject: Re: Getting Fail function aborted error in IIB Flow (Using W |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
markshankar wrote: |
My flow has been deployed in Unix where my broker is running. |
Deployed how? Deployed where? How does the flow know where to find it, i.e. what configuration do you have specifying WTX map location? |
The map should be deployed with the bar file. Now the question comes to mind if the WTX/ITX engine is even installed in your Unix environment. And did you install it after installing IIB ??  _________________ MQ & Broker admin |
|
Back to top |
|
 |
markshankar |
Posted: Thu Sep 06, 2018 9:46 am Post subject: Re: Getting Fail function aborted error in IIB Flow (Using W |
|
|
Novice
Joined: 14 Nov 2017 Posts: 14
|
Vitor wrote: |
markshankar wrote: |
My flow has been deployed in Unix where my broker is running. |
Deployed how? Deployed where? How does the flow know where to find it, i.e. what configuration do you have specifying WTX map location? |
Before configure map in WTX node, I build the map in TX perspective and configure that mmc in WTX node of message flow. Later build bar file so that we can get .mar file which will include WTX map specifications and that bar file deployed in Broker (Connected remote broker from windows toolkit)
Thanks |
|
Back to top |
|
 |
markshankar |
Posted: Thu Sep 06, 2018 9:56 am Post subject: Re: Getting Fail function aborted error in IIB Flow (Using W |
|
|
Novice
Joined: 14 Nov 2017 Posts: 14
|
fjb_saper wrote: |
Vitor wrote: |
markshankar wrote: |
My flow has been deployed in Unix where my broker is running. |
Deployed how? Deployed where? How does the flow know where to find it, i.e. what configuration do you have specifying WTX map location? |
The map should be deployed with the bar file. Now the question comes to mind if the WTX/ITX engine is even installed in your Unix environment. And did you install it after installing IIB ??  |
Yes this is existing environment, which we have all installed software's and i did follow same procedure for other WTX maps related message flows..Mostly i faced this kind of error when particular lookup or condition not get satisfied Fail functions gets thrown but this time raised something related to "FAIL function aborted map:Run failed with error: 4 - Could not read map"..
When i google it i got below info :-
"Could not read map
If you have ported your map and sent it with FTP to another platform, make sure you have done so using the BINARY option so the map's contents will not be corrupted".
I dont understand where to check binary option.
Thanks |
|
Back to top |
|
 |
markshankar |
Posted: Thu Sep 06, 2018 11:54 am Post subject: Re: Getting Fail function aborted error in IIB Flow (Using W |
|
|
Novice
Joined: 14 Nov 2017 Posts: 14
|
markshankar wrote: |
fjb_saper wrote: |
Vitor wrote: |
markshankar wrote: |
My flow has been deployed in Unix where my broker is running. |
Deployed how? Deployed where? How does the flow know where to find it, i.e. what configuration do you have specifying WTX map location? |
The map should be deployed with the bar file. Now the question comes to mind if the WTX/ITX engine is even installed in your Unix environment. And did you install it after installing IIB ??  |
Yes this is existing environment, which we have all installed software's and i did follow same procedure for other WTX maps related message flows..Mostly i faced this kind of error when particular lookup or condition not get satisfied Fail functions gets thrown but this time raised something related to "FAIL function aborted map:Run failed with error: 4 - Could not read map"..
When i google it i got below info :-
"Could not read map
If you have ported your map and sent it with FTP to another platform, make sure you have done so using the BINARY option so the map's contents will not be corrupted".
I dont understand where to check binary option.
Thanks |
Hi ,
By analyzing my main map, Used Run function to call another map. I am suspecting that might be the reason to throw above said exception. But its working in windows not in my server.. For reference pls find below rule where we used run map..
***********************************************************************************
=F_ExtractRunResults(
RUN (
"S_SHWPNROPTY_ZYOTOB_OPPTY01_SPLT.mmc"
, "-OE1 -ADRBRERCRPRM "
+ ECHOIN (1, "Y007") /* Opportunity Notes */
+ ECHOIN(2, EITHER(TEXT(Value:ElemDecl sapzyotoboppty01z2yoptt001~Lang Comp:Seq sapzyotoboppty01z2yoptt001~SapZyotobOppty01Z2yoptt001:ElemDecl sapzyotoboppty01datarecord~SapZyotobOppty01Z2yoptt001 Comp[1]:TextGroup[1]:Seq sapzyotoboppty01datarecord~SapZyotobOppty01DataRecord:ElemDecl sapzyotoboppty01idocbo~SapZyotobOppty01DataRecord Comp:Seq sapzyotoboppty01idocbo~SapZyotobOppty01IDocBO:Out), "<SP>")) /* LANG */
+ ECHOIN(3, EITHER(TRIMRIGHT(TEXT(Value:ElemDecl oa9~Note Element:oa9~FreeFormTextGroup Group:show~OpportunityHeader:Opportunity)), "<SP>")) /* TEXT */
)
)
************************************************************************************
Please let me know, If it is related to any environment issue .
Thanks |
|
Back to top |
|
 |
markshankar |
Posted: Fri Sep 07, 2018 12:03 am Post subject: Re: Getting Fail function aborted error in IIB Flow (Using W |
|
|
Novice
Joined: 14 Nov 2017 Posts: 14
|
markshankar wrote: |
markshankar wrote: |
fjb_saper wrote: |
Vitor wrote: |
markshankar wrote: |
My flow has been deployed in Unix where my broker is running. |
Deployed how? Deployed where? How does the flow know where to find it, i.e. what configuration do you have specifying WTX map location? |
The map should be deployed with the bar file. Now the question comes to mind if the WTX/ITX engine is even installed in your Unix environment. And did you install it after installing IIB ??  |
Yes this is existing environment, which we have all installed software's and i did follow same procedure for other WTX maps related message flows..Mostly i faced this kind of error when particular lookup or condition not get satisfied Fail functions gets thrown but this time raised something related to "FAIL function aborted map:Run failed with error: 4 - Could not read map"..
When i google it i got below info :-
"Could not read map
If you have ported your map and sent it with FTP to another platform, make sure you have done so using the BINARY option so the map's contents will not be corrupted".
I dont understand where to check binary option.
Thanks |
Hi ,
By analyzing my main map, Used Run function to call another map. I am suspecting that might be the reason to throw above said exception. But its working in windows not in my server.. For reference pls find below rule where we used run map..
***********************************************************************************
=F_ExtractRunResults(
RUN (
"S_SHWPNROPTY_ZYOTOB_OPPTY01_SPLT.mmc"
, "-OE1 -ADRBRERCRPRM "
+ ECHOIN (1, "Y007") /* Opportunity Notes */
+ ECHOIN(2, EITHER(TEXT(Value:ElemDecl sapzyotoboppty01z2yoptt001~Lang Comp:Seq sapzyotoboppty01z2yoptt001~SapZyotobOppty01Z2yoptt001:ElemDecl sapzyotoboppty01datarecord~SapZyotobOppty01Z2yoptt001 Comp[1]:TextGroup[1]:Seq sapzyotoboppty01datarecord~SapZyotobOppty01DataRecord:ElemDecl sapzyotoboppty01idocbo~SapZyotobOppty01DataRecord Comp:Seq sapzyotoboppty01idocbo~SapZyotobOppty01IDocBO:Out), "<SP>")) /* LANG */
+ ECHOIN(3, EITHER(TRIMRIGHT(TEXT(Value:ElemDecl oa9~Note Element:oa9~FreeFormTextGroup Group:show~OpportunityHeader:Opportunity)), "<SP>")) /* TEXT */
)
)
************************************************************************************
Please let me know, If it is related to any environment issue .
Thanks |
Hi All
I tried in another way by using use external option with giving map server location in WTX node properties after placing .mmc (build with specific platform)files in my server..its working fine.
Thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|