Rational Programming Patterns for System z

The Library entity

The purpose of the Library editor is to define and initialize a Library.

Only the database administrator can update the Library Definition or delete a Library.

Library instances

The Library instances are automatically copied to the Design Explorer view. As soon as you import entity instances into this view, the information associated with this Library is loaded into your workspace. The Library entity shows up in the current location under the Library branch. You can also create a Library in the Design Explorer view.

Concept

A Pacbase database is structured in Libraries. Libraries are hierarchically structured on a maximum of nine levels. The hierarchical structure is determined when Libraries are created and can be modified by the deletion or creation of a Library . The hierarchical level of a Library corresponds to the general nature of the information it contains. A specification is described in the connection Library of the user but also in the higher Libraries of which this Library is dependent.

Any modification in a given Library immediately affects all its dependent Libraries.

The creation of a Library is a twofold operation:
  • The database administrator first creates the Library with a batch procedure (PACS). User input includes the Library code and its parent Library (if any).
    Note: For details, use the following link to look up the Pacbase administration manual:

    http://www-01.ibm.com/support/docview.wss?rs=37&uid=swg27005477

  • The characteristics of a Library are defined in the Library editor Definition and -G Lines tabs. You open the Library editor from the Design Explorer view.

Library editor

In the Library editor, you indicate the characteristics of the Library:
  • The Library name,
  • The default generated language (adapted to the hardware in use) for any instance generated from the Library:
    • Generation language,
    • COBOL type,
    • Map type.
  • The values selected for the alphanumeric delimiter and decimal presentation character, and the date presentation:
    • Alphanumeric delimiter,
    • Decimal point delimiter,
    • Century system date,
    • Generated date format,
    • Century reference date.
  • The generated skeleton language. If you have extracted instances from Pacbase and imported them into your workspace, this field contains the value of the skeleton language in Pacbase.

    It automatically applies to all the entities generated from the Library (Program, Screen, Dialog, Server Dialog, Server, Database Block, Data Structure).

  • Comments and generation options.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)