Data Language Interface

Data Language Interface

Data Language Interface (Data Language/I, DL/I, Data Language/Interface, Data Language/One [1]) is the language system used to access IBM’s IMS databases, and its data communication system.

It is implemented from any language 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 physical limitations of storage space).

The structure of any database is presented to the application program as a PCB (Program Control 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, 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 was 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);


External links

Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Data Language/Interface — (abreviado DL/1 o DL/I) es el lenguaje de programación para acceder a las bases de datos de IMS y a su sistema de comunicación. Se implementa desde cualquier lenguaje existente realizando llamadas a un programa puente llamado DFSLI000. Este… …   Wikipedia Español

  • Perl Data Language — PDL (short for Perl Data Language) is a set of array programming extensions to the Perl programming language.PDL is an extension to Perl v5, intended for scientific and other data intensive programming tasks. Perl s data structures are intended… …   Wikipedia

  • Interface description language — Pour les articles homonymes, voir IDL.  Ne doit pas être confondu avec Interactive Data Language) Interface description language (appelé aussi interface definition language), abrégé en IDL, est un langage voué à la définition de l interface… …   Wikipédia en Français

  • Data Protection API — (DPAPI) криптографический интерфейс программирования приложений в ОС семейства Windows, обеспечивающий защиту (конфиденциальность) данных путём их шифрования. Архитектура DPAPI включает в себя функции: шифрования и расшифровки данных, а также… …   Википедия

  • Language Integrated Query — LINQ redirects here. For the card game, see Linq (card game). Language Integrated Query Influenced by SQL, Haskell Language Integrated Query (LINQ, pronounced link ) is a Microsoft .NET Framework component that adds native data querying… …   Wikipedia

  • Data interface — Die Schnittstelle oder das Interface [ˈɪntɚfeɪs] (englisch „Grenzfläche“) ist der Teil eines Systems, der der Kommunikation dient. Der Begriff stammt ursprünglich aus der Naturwissenschaft und bezeichnet die physikalische Phasengrenze zweier… …   Deutsch Wikipedia

  • Interface — Die Schnittstelle oder das Interface [ˈɪntɚfeɪs] (englisch „Grenzfläche“) ist der Teil eines Systems, der der Kommunikation dient. Der Begriff stammt ursprünglich aus der Naturwissenschaft und bezeichnet die physikalische Phasengrenze zweier… …   Deutsch Wikipedia

  • Data structure — In computer science, a data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.[1][2] Different kinds of data structures are suited to different kinds of applications, and some are highly …   Wikipedia

  • Data Protection API — DPAPI (Data Protection Application Programming Interface) is a simple cryptographic application programming interface available as a built in component in Windows 2000 and later versions of Microsoft Windows operating systems. In theory the Data… …   Wikipedia

  • Data type — For other uses, see Data type (disambiguation). In computer programming, a data type is a classification identifying one of various types of data, such as floating point, integer, or Boolean, that determines the possible values for that type; the …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”