ArticleslgStudy

computer science

Data Language Interface

Data Language Interface is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Data Language Interface rather than just read about it. In short: Data Language One (Data Language/I, DL/I, Data Language/One, Data Language/One) is the language system used to access IBM's IMS databases and its data communication system. It is implemented from many languages by making calls to a software stub, DFSLI000.

Key takeaways

  • Data Language Interface belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Data Language Interface to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Data Language Interface from memory before moving on to harder problems.

Reference excerpt

Data Language One (Data Language/I, DL/I, Data Language/One, Data Language/One) is the language system used to access IBM's IMS databases and its data communication system. It is implemented from many languages by making calls to a software stub, DFSLI000. This stub has entry points to handle a variety of programming languages, e.g., calling CBLTDLI from a COBOL program. This stub is linked to the calling program, passes on the request to the IMS system, and returns the results and a status code. In any full-function IMS database, the smallest element that can be retrieved is a segment. Each segment is made up of fields, one of which, typically, will be a key field. The segments are arranged hierarchically in the database, the highest-level segment type being a root segment. 255 different segment types, on up to 15 levels, are allowed in any database. A database record consists of a specific root segment and all its dependent child segments – there is no limit to the number of segments in a record, or to the number of records in a database (apart from the physical limitations of storage space). The structure of any database is presented to the application program as a PCB (Program Communication Block), and this is used as one of the parameters passed to the stub. Other types of PCB are used to send and receive transaction processing messages, access and write to the user’s VDU screen, and to print reports, etc. When accessing a database segment, the application program also uses an SSA (Segment Search Argument) as a parameter, to specify the segment or segments that it needs. This would typically contain the segment type required and the contents of any key fields. For all languages except PL/I, the first parameter in a call is the Function Code – a four-character field, examples being: “GU ” (Get Unique), “GN ” (Get Next), “REPL” (Replace), and “ISRT” (Insert). With PL/I, due to the way this language does not mark the last parameter with a '1' in bit 0, the first parameter must instead be a fullword (Fixed Bin(31)) containing the number of following parameters. A typical call from a COBOL program might be CALL “CBLTDLI” USING GU, Stores-Database-PCB, Stores-Segment-Area, Stores-Root-SSA. The program would then automatically wait till the requested data were retrieved and placed in the Segment-Area. The status code contained within the PCB would be updated with either blanks (if all went well) or some informational or error code. A typical call from a PL/I program might be CALL PLITDLI(FOUR, GU, Stores-Database-PCB, Stores-Segment-Area, Stores-Root-SSA);.

References

External links Information Management Software for z/OS Solutions Information Center Basic DL/I database concepts

Worked examples

Example 1 — a first encounter with Data Language Interface

Start with the simplest possible case. Write down what Data Language Interface claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Data Language Interface before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Data Language Interface ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Data Language Interface

In research
Data Language Interface appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Data Language Interface in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Data Language Interface is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data-structured programming languages, IBM software, so understanding it makes those chapters shorter.
In everyday life
Look for Data Language Interface outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Data Language Interface” →

How to study Data Language Interface in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Data Language Interface means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Data Language Interface out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Data Language Interface in simple terms?

Data Language One (Data Language/I, DL/I, Data Language/One, Data Language/One) is the language system used to access IBM's IMS databases and its data communication system. It is implemented from many languages by making calls to a software stub, DFSLI000.

Why does Data Language Interface matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Data Language Interface?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Data Language Interface.

Tags

  • Data-structured programming languages
  • IBM software

Keep exploring