nerdexam
IBM

000-349 · Question #52

Which one of the following statements is true with regards to the RUN function?

The correct answer is D. The RUN function can be used to dynamically name source and/or destination files. The RUN function's primary distinguishing capability is the ability to dynamically specify source and/or destination filenames at runtime rather than using hardcoded paths.

Development

Question

Which one of the following statements is true with regards to the RUN function?

Options

  • AAll maps executed via the RUN function must be in the same map source file.
  • BAll compiled maps executed via the RUN function must be in the same directory as the calling
  • CThe first argument of the RUN function can be the name of a functional or executable map.
  • DThe RUN function can be used to dynamically name source and/or destination files.

How the community answered

(64 responses)
  • A
    3% (2)
  • B
    14% (9)
  • C
    6% (4)
  • D
    77% (49)

Why each option

The RUN function's primary distinguishing capability is the ability to dynamically specify source and/or destination filenames at runtime rather than using hardcoded paths.

AAll maps executed via the RUN function must be in the same map source file.

Maps invoked via RUN are not required to reside in the same map source file as the calling map; they can be located in separate map sources.

BAll compiled maps executed via the RUN function must be in the same directory as the calling

Compiled maps called via RUN do not need to be in the same directory as the calling map; the runtime environment can locate them from different directories.

CThe first argument of the RUN function can be the name of a functional or executable map.

The first argument of the RUN function must be the name of a compiled or executable map, not a functional map; functional maps are not directly invocable as the primary argument of RUN.

DThe RUN function can be used to dynamically name source and/or destination files.Correct

The RUN function allows the calling map to pass dynamically constructed source and/or destination file names as arguments at runtime, making it possible to process variable or computed file paths - this is a core and unique feature of RUN compared to static map invocation methods.

Concept tested: RUN function dynamic file naming capability

Source: https://www.ibm.com/docs/en/b2b-integrator/6.1?topic=functions-run

Topics

#RUN function#dynamic file naming#executable maps#functional maps

Community Discussion

No community discussion yet for this question.

Full 000-349 Practice