ADABAS explained

Adabas, a contraction of “adaptable database system,"[1] [2] is a database package that was developed by Software AG to run on IBM mainframes. It was launched in 1971 as a non-relational[3] database. As of 2019, Adabas is marketed[4] for use on a wider range of platforms, including Linux, Unix, and Windows.[5]

Adabas can store multiple data relationships in the same table.

History

Initially released by Software AG in 1971[6] on IBM mainframe systems using DOS/360, OS/MFT, or OS/MVT, Adabas is currently available on a range of enterprise systems, including BS2000, z/VSE, z/OS, Unix, Linux, and Microsoft Windows.[7] Adabas is frequently used in conjunction with Software AG's programming language Natural; many applications that use Adabas as a database on the back end are developed with Natural. In 2016, Software AG announced that Adabas and Natural would be supported through the year 2050 and beyond.[8]

Adabas is one of the three major inverted list DBMS packages, the other two being Computer Corporation of America’s Model 204 and ADR’s Datacom/DB.[9]

4GL support

Since the 1979 introduction of Natural[10] [11] the popularity of Adabas databases has grown. By 1990, SAS[12] was supporting Adabas.

Non-relational

In a 2015 white paper, IBM said, "applications that are written in a pre-relational database, such as Adabas, are no longer mainstream and do not follow accepted IT industry standards."[13] However, an Adabas database can be designed in accordance with the relational model. While there are tools and services to facilitate converting Adabas to various relational databases,[14] [15] such migrations are usually costly.[16] [17]

Hardware zIIP boost

IBM's zIIP (System z Integrated Information Processor) special purpose processors permit "direct, real-time SQL access to Adabas" (even though the data may still stored in a non-relational form).[18]

Adabas Data Model

Adabas is an acronym for Adaptable Data Base System (originally written in all caps; today only the initial cap is used for the product name.)

Adabas is an inverted list data base, with the following characteristics or terminology:

Adabas is typically used in applications that require high volumes of data processing or in high transaction online analytical processing environments.[20]

Adabas access is normally through Natural modules using one of several Natural statements including READ, FIND, and HISTOGRAM. These statements generate additional commands, under the covers, like open and close file. Adabas data can also be retrieved via direct calls.

Example of Natural program running against Adabas

FIND EMPLOYEE WITH NAME = 'JONES' OR = 'BAKER' AND CITY = 'BOSTON' THRU 'NEW YORK' AND CITY NE 'CHAPEL HILL' SORTED BY NAME WHERE SALARY < 28000 DISPLAY NAME FIRST-NAME CITY SALARYEND-FIND END

In the above program, the search criteria specified in the WITH clause is processed by Adabas, whereas the additional filtering indicated by the WHERE clause is performed by Natural.

Output of Program:NAME FIRST-NAME CITY SALARY ---------------------------------BAKER PAULINE DERBY 4450JONES MARTHA KALAMAZOO 21000JONES KEVIN DERBY 7000

Natural (4GL)

Natural is a proprietary fourth-generation programming language. It was not part of the initial (1971) Adabas release.[21]

Natural programs can be "run" interpretively or "executed" as compiled objects.[22] Compiled programs can more directly use operating system services, and run faster.

Proponents say that Natural has evolved from a competitor of COBOLto "being in competition with Java as language of choice for writing services (SOA)."[23]

About Natural

Natural, which includes a built-in screen-oriented editor, has two main components: the system and the language.

The system is the central vehicle of communication between the user and all other components of the processing environment.

The language is structured and less procedural than conventional languages.

Natural objects (programs, maps, data areas, etc.) are stored in libraries, similar in structure to a DOS directory, and can be named with identifiers up to 8 characters.

Objects, even if they are of different types, cannot have the same name (within the same library).

Natural provides both online and batch execution. Batch programs can read/write up to 32 work files and print up to 32 reports. Natural also supports an interactive debugger that allows developers to step through the code and display the contents of variables.

Versions exist for z/OS, z/VSE, BS2000/OS, Linux, Unix and Windows.[24]

Language features

Natural works not only with Adabas files, but also supports Oracle,DB2, and others.

Sample code:DEFINE DATA LOCAL 01 EMPLOYEES VIEW OF EMPLOYEES 02 SALARY (1) END-DEFINE READ EMPLOYEES BY NAME AT END OF DATA DISPLAY MIN (EMPLOYEES.SALARY(1)) (EM=ZZZ,ZZZ,ZZ9) AVER(EMPLOYEES.SALARY(1)) (EM=ZZZ,ZZZ,ZZ9) MAX (EMPLOYEES.SALARY(1)) (EM=ZZZ,ZZZ,ZZ9) END-ENDDATA END-READ END Output:

Page      1                                                  18-08-22  16:42:22
                                                                               
  ANNUAL      ANNUAL      ANNUAL                                               
  SALARY      SALARY      SALARY                                               
----------- ----------- -----------                                            
                                                                               
          0     240,976   6,380,000                                            
The language is strongly-typed, using explicit typing of variables, which may be one of:

The system file

The system file is an Adabas file reserved for use by Natural, which contains, but is not limited to, the following:

The system file is not limited to Adabas. Natural can also store programs in VSAM on mainframe operating systems. Natural uses the file system on Windows and various Unix implementations.

Programs

Natural objects are identified by names up to 8 characters, the first of which must be alphabetical.

The Natural program editor allows source in rows of up to 72 positions. Lines are numbered by 4 digits. This numbering is generated by Natural during program creation. Line numbers used by the compiler and editors, and can have important logical functions in the programs.

Comments can be included in two ways:

Examples: 0010 * These two lines (0010 and 0020) 0020 ** are comments. 0030 FORMAT LS = 80 /* As well as this part of the line (0030) 0040 * NOTE: The "/*" form has no space between the SLASH and ASTERISK. . . 0200 END"END" or "." indicates the end of a program.

A Hello World code example:

* Hello World in NATURAL WRITE 'Hello World!' END

Related products

Most Natural installations include add-on products such as:

See also

Bibliography

External links

Notes and References

  1. Book: Fundamentals of Data Base Systems . 174 . 1349158437. S.M. Deen . 1977.
  2. "Adaptable Data Base System, or ADABAS, was developed by Software AG of Darmstadt, West Germany. Its first version appeared in 1971, and by now it has over 80 installations in Europe and the United States."
  3. "Historically, the solution was to use nonrelational structures, such as the inverted structure used by Adabas ..." Book: Pro Oracle Collaboration Suite 10g . 324. 978-1430202356. John Watson. 2007.
  4. formerly named with ALL-caps, today as Adabas
  5. Web site: Software AG Product Documentation . 2023-03-22 . documentation.softwareag.com.
  6. Web site: Adabas continues to play a vital role for installed base. 12 February 2017.
  7. Web site: Adabas & Natural Database Management System - Software AG. 12 February 2017.
  8. Software AG Announces New "Adabas & Natural 2050" Agenda. 31 August 2016.
  9. Web site: ADABAS was .. one of the three major inverted-list DBMS, the other two being Computer Corporation of America’s Model 204 and ADR’s Datacom/DB.. Software AG memories. March 25, 2011 .
  10. News: Computerworld . May 29, 1978 . 27. Adabas new products.
  11. "Both the Adabas Data Dictionary System and the Adacom batch report writer are due out in July while Natural, a natural programming language, is expected to be ... Described as entirely reentrant, multithreaded and priority dispatched, the system is in Alpha testing and scheduled for general release in January 1979.
  12. Web site: SAS/ACCESS 9.2 Interface to ADABAS: Reference.
  13. Web site: Converting Adabas to IBM DB2 for z/OS.
  14. Web site: ADABAS Database Migration to IBM DB2, Oracle, Microsoft SQL Server.
  15. "... including the conversion of any applications written in 4th Generation languages (4GL) to more contemporary languages, and the adaptation of any applications in standard programming languages to directly access the new relational database. Included in that coverage is Adabas and Natural from Software AG ..."
  16. Web site: Adabas to DB2 conversion.
  17. "COSTS: "So far its been 2 years and 30 million dollars to convert." _versus_ BENEFITS: (but) "a single SQL statement (with joins) to replace pages of code."
  18. Web site: 5 Ways to Simplify Access to Adabas & Natural with Data Virtualization . 1990.
  19. Web site: CONNX for Adabas CONNX Solutions. www.connx.com. 2017-09-01.
  20. Web site: WHAT IS ADABAS?.
  21. Web site: Adabas / Natural – From pioneer to relegator - fast and proprietary for over 40 years .
  22. Web site: Natural Program Activity.
  23. Web site: Which is better, COBOL/DB2 or Natural/ADABAS. July 6, 2011.
  24. Web site: Resource Library . Resources.softwareag.com . 2023-03-22.
  25. Web site: Packed-Decimal Format. IBM. June 2012.