Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Library elements

&pagelevel(4)&pagelevel

EDT is able to process elements in program libraries (PLAM libraries, Program Library Access Method). For more detailed information on these libraries, see the LMS User Guide [14].

In the current manual, program libraries are simply referred to as libraries.

Delta elements cannot be processed using EDT statements. Although read access is possible, if users want to modify delta elements then they must use the LMS statements in EDT. The precise procedure is described in the LMS User Guide [14].

The library name in EDT statements must comply with the BS2000 data management system requirements for file names. It can be specified directly as a string or indirectly as a string variable. If the library that is to be opened is a part of a file generation group then the library name must be specified by means of a string variable (because of the parentheses).

EDT is able to process records of length 0.

Elements in libraries can be addressed individually via their element designations.

The element designation consists of the name, version and element type and is specified in the following form:

elname[(vers)][,eltype]

Here, elname is the name of the element, vers the version designation of the element and eltype the type of element.

The version and element type specifications are optional. If no value is entered for vers in a statement then the highest existing version is used on read operations and highest possible version on write operations. If no value is entered for eltype in a statement or if the value is *STD then the value specified in @PAR ELEMENT-TYPE is used. The presetting when EDT is started is S.

The element designation must comply with the name conventions as defined in the LMS User Guide [14].

In the read and write operations, it is only possible to specify text-type and user-defined types as the element type. The text-type standard types are:

Type

Element content

S

M

P

J

D

X

Source program

Macros

Data edited for printing

Procedures

Text data

Data in any format

In the case of the standard types, no check is performed to determine whether the content of the element is actually text-type. If the element type is a user-defined type, no check is performed to determine whether it is derived from a text-type basic type.

Elements containing format B records cannot be edited by EDT. In the case of format A records, EDT only takes account of record type 1 records. EDT leaves other record types unmodified.