Functional Overview

The ADAREP utility produces the database status report, which provides information concerning the current physical layout and logical contents of a database or a save tape (if the SAVETAPE parameter is specified).

The information provided in the database status report includes

  • database name, number, creation date/time, file status, and current log number.

  • in cylinders and blocks, the amount and locations of Associator, Data, and Work space currently used, and allocated but unused.

  • Associator and Data Storage RABN information including device type, VOLSER number, file number (if appropriate), and usage (AC, NI/UI, Data Storage, DSST, alternate (only from a save tape), or unused).

  • alternate RABN block amounts and locations (only from a save tape).

  • by file, a summary of ISN, extent, padding factor, used/unused Associator and Data Storage space, and file options.

  • PPT information.

  • detailed information (optionally by file) that includes all summary information plus MINISN/MAXISN settings, MUPEX settings, detailed space information, creation and last use date/time, field definition table (FDT) contents, and general or extended checkpoint file information.

  • information on logically deleted fields in the database files and identifying logically deleted fields in each database file.

You can also produce an XML document containing the database status report in XML format. This XML document is structured as defined by an XML schema definition file (adabas.xsd) provided in the online Community Discussion Forum for Adabas. A stylesheet (adabas.xsl) is also provided for your use at the same location. You can transfer these XML files from the Adabas Forum to any system (probably Windows or UNIX) using automated tools or user-written programs in the programming language of your choice (Natural, Java, .Net, C, Perl, or Python). In addition, the code page of the XML output can be controlled.

Start of instruction setTo access the Adabas Forum:

  1. Access the general online Software AG Community Discussion Forum at https://techcommunity.softwareag.com/signup/.

  2. Log into the Community Discussion Forum.

  3. Expand Forums - Overview on the left side of the web page and select Adabas.

    The Adabas Forum appears in the central section of the web page.

  4. Select Adabas Code Samples in the Adabas Forum.

    All Adabas code samples, including the schema definition file and stylesheet are available for download in this section.