![]() |
LMS-ISAM libraries (OSM Old Source Macro)
Elements in this BS1000-compatible library format are identified with a one to eight character name, and a three digit version number. The library is stored and organised as an ISAM file, and will henceforth be referred to as an LMS-ISAM library. Another description, OSM (Old Source Macro), stems from the fact that mostly source programs and macros are stored in this type of library.


With a mouseclick you get a describtion of the screen item.
Selecting the Highest Version of each Element
VER Specifying this User Option will display the number of versions of each element. Only the highest version of each element will be displayed in the file list. All versions of an element can be selected by entering the Action Code NP next to its name.
Adding Elements to an LMS-ISAM Library
If the element name is not explicitly specified when adding files to an LMS library, then the last 8 characters of the last partial file name will be used. If the file name contains a '#' character, then the characters following this character will be used as a version description for the element.
A summary of the commands used for controlling the way files are added to LMS-ISAM libraries follows.
AC | NAC Add Compressed/No Add Compressed (only for LMS-ISAM).
The following ADD commands or Actions will result in the files being stored in compressed/uncompressed form in the library.
Default: AC (compressed storage).
NAC mode can also be set with /SETSW ON=10.
(Initial setting: /SETSW OFF=10 implies AC mode).
AI | NAI Add with Increment of version/No Increment of version (only for LMS-ISAM).
AI Adding a data object (file or library element) to a library will result in the version number of an identically named element being incremented by 001. If no such element exists, the element being added will have a version number of 001.
NAI When adding a data object (file or library element) to a library, an identically named element with the highest version number will be overwritten. If no element with this name exists, the element will be added with a version number of 001.
Standard: NAI, i.e. no automatic version increment will be performed.
AI mode can also be set using /SETSW ON=12 .