000-349 · Question #55
What is the difference between a map called using the RUN function and a functional map?
The correct answer is D. The data sources and target settings are not ignored in a map called using the RUN function. The key difference is that a map invoked via RUN executes with its own active data sources and targets, while a functional map has those settings ignored because data is passed programmatically by the calling map.
Question
What is the difference between a map called using the RUN function and a functional map?
Options
- AA map called using the RUN function is a compiled map, a functional map is not.
- BA map called using the RUN function is referenced by another map through a map rule, a
- CThe definition for a map called using the RUN function does not need to be in the same map
- DThe data sources and target settings are not ignored in a map called using the RUN function,
How the community answered
(48 responses)- A17% (8)
- B4% (2)
- C8% (4)
- D71% (34)
Why each option
The key difference is that a map invoked via RUN executes with its own active data sources and targets, while a functional map has those settings ignored because data is passed programmatically by the calling map.
Compilation state is not a distinguishing characteristic - both RUN function maps and functional maps can be compiled; this is not the technical difference between them.
Both map types can be referenced and invoked by another map; the ability to be called from another map is not unique to either type.
The definition location requirement is not the differentiating factor; what distinguishes the two types is runtime behavior with respect to data source and target settings, not where the map definition resides.
When a map is called via the RUN function it operates as a standalone process using its own defined input and output adapter settings, whereas a functional map's data source and target definitions are deliberately bypassed - data enters and exits through the calling map's rule context rather than through the functional map's own adapter configuration.
Concept tested: RUN function map vs functional map runtime behavior
Source: https://www.ibm.com/docs/en/b2b-integrator/6.1.0?topic=maps-functional-map-overview
Topics
Community Discussion
No community discussion yet for this question.