Multiple choice technology programming languages

The actual call to access the database will be done by calling

  1. CBLTDLI

  2. PLITDLI

  3. Only a

  4. A or b

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To answer this question, the user needs to have knowledge of database access methods.

The correct answer is:

D. A or B

Explanation:

CBLTDLI and PLITDLI are both programming interfaces for accessing databases. CBLTDLI is a COBOL interface, and PLITDLI is a PL/I interface. Both interfaces are used to submit commands and retrieve data from databases. Therefore, either option A or option B can be used to access the database. Option C is incorrect because only option A or B can be used to access the database, not just option A.

AI explanation

Correct answer: A or b (i.e., CBLTDLI or PLITDLI, depending on the calling language).

In IMS DL/I (the hierarchical database used with mainframe COBOL/PL·I programs), the application doesn't call the database directly — it issues a DL/I call through a language-specific stub routine. COBOL programs call CBLTDLI, while PL/I programs call PLITDLI; both are just language-specific entry points into the same underlying DL/I call interface. Since the question doesn't specify which host language is being used, neither routine alone is universally "the" answer — it depends on the language, so "A or B" is the only answer that's correct in general.