Version 8.2.3
 —  Administration  —

Libraries

This section covers the following topics:


What are Libraries?

For a definition of private, public and common libraries, see Libraries in Using Super Natural in the User's Guide.

You can perform the following commands on libraries:

  ADD MODIFY COPY DELETE INFO MEMBER
Private Library     X X   X
Public Library     X X   X
Common Library     X X   X

Super Natural libraries can contain the following types of members:

You can perform the following commands on members:

  ADD MODIFY COPY DELETE INFO MEMBER
Member     X X X  

Top of page

Creating Libraries

There is no Add Library function.

Start of instruction setTo create a library

Note:
Libraries are not created until members are copied to them.

Top of page

Listing Libraries

Start of instruction setTo list libraries with a certain prefix and member prefix

  1. Issue the LIBRARY command.

    Or:
    Select the object Library from the AdministrationMenu.

    The Library List screen appears as in the following example:

     14:49                      ***** Super Natural *****                 1999-05-21
     SBE                            - Library List -                           SNMLL
                                                                       More:   - +  
                      Library prefix: Y  Program prefix: I                          
                 Cmd  Library  Programs                                             
                      *______                                                       
                  __  DD           7                                                
                  __  DEMO         1                                                
                  __  ESC         58                                                
                  __  EZA         48                                                
                  __  FHA          1                                                
                  __  FSO          3                                                
                  __  HAA          9                                                
                  __  HAH         55                                                
                  __  HAH1        15                                                
                  __  HAH2        13                                                
                  __  HAH3        13                                                
                  __  HSE          6                                                
                                                                                    
     Cmd(s): Copy, Delete, Member                                                   
     Select one command from list                                                   
     Command ===>                                                                   
     Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
           Help        Exit              Flip        +                       Canc   
    

    The Library List screen shows the following:

  2. Enter the prefix for the type of library you want to see in the Library Prefix field.

  3. Enter the prefix for the type of program you want to see in the Member prefix field.

    The libraries with the prefix specified are listed and the number of programs with the prefix specified contained in each library is shown.

Top of page

Copying Libraries

You use the Copy Library function to copy members of a certain type either to an existing or to a new library. You cannot copy all the members of a library at once. You must copy each member type separately.

Notes:

  1. When you copy a transaction, its layout member is also copied.
  2. If you copy transactions created with Super Natural Version 2.4.2 or below, a dummy layout member is created for each one.
  3. You cannot copy transactions with transaction mode for reporting Destination USER FILE between libraries.

Start of instruction setTo copy a library

Top of page

Deleting Libraries

You use the Delete Library function to delete members with a certain prefix from libraries. You cannot delete all the members of a library at once. You must delete each member type separately.

If you delete all transactions, the layout members which belong to them are also deleted. However, the work-in-progress layout members are not deleted. Work-in-progress layout members (prefix!) can only be deleted from the Member List screen.

Note:
A library itself is not deleted until all its members are deleted.

Start of instruction setTo delete a library

  1. Issue the DELETE LIBRARY command specifying library prefix, library name and program prefix as in the following example:

     DELETE LIBRARY YTEST I
    
  2. Confirm the deletion in the window which appears.

    All the programs with the prefix specified are deleted from the library.

    Or:
    Enter DE in the command column of the Library List screen next to the library you want to delete.

  3. Confirm the deletion in the window which appears.

    All the programs with the prefix specified in the Member prefix field of the Library List screen are deleted from the library.

Note:
You must delete common libraries and their definitions separately.

Top of page

Listing Library Members

Start of instruction setTo list the members contained in a library

Top of page

Copying Library Members

Start of instruction setTo copy a library member

Note:
You cannot copy transactions with transaction mode for reporting Destination USER FILE between libraries.

Top of page

Deleting Library Members

Start of instruction setTo delete a library member

Top of page

The Information / Info Function

Start of instruction setTo obtain information about a member

Top of page