000-349 · Question #13
The size of an object defined as a text item in a type tree:
The correct answer is C. excludes initiator, terminator, and release characters. In a type tree, the size of a text item refers only to the data content itself, not to any structural delimiter characters that surround it.
Question
The size of an object defined as a text item in a type tree:
Options
- Ais set to zero if the item is an optional component.
- Bincludes initiator, terminator, and release characters.
- Cexcludes initiator, terminator, and release characters.
- Drequires that pad characters be counted when determining the maximum size.
How the community answered
(56 responses)- A4% (2)
- B5% (3)
- C77% (43)
- D14% (8)
Why each option
In a type tree, the size of a text item refers only to the data content itself, not to any structural delimiter characters that surround it.
An optional component retains its defined size when present; marking an item optional only controls whether its absence is permitted, not its size value.
Initiator, terminator, and release characters are delimiter properties configured separately on the item and are explicitly excluded from the size calculation, making this the opposite of the correct behavior.
The defined size of a text item in a type tree covers only the actual data payload; initiator, terminator, and release characters are structural delimiters defined separately on the item's properties and are not factored into the item's size field, allowing the map engine to correctly calculate data boundaries independent of surrounding delimiters.
Pad characters fill unused space within an already-defined fixed-length field and are already accounted for within the specified size, so they do not need to be separately counted when determining maximum size.
Concept tested: Text item size calculation excluding delimiters in type trees
Source: https://www.ibm.com/docs/en/b2b-integrator/6.2?topic=properties-text-item
Topics
Community Discussion
No community discussion yet for this question.