Skip to main content

Properties

Other properties of data beyond that of the structures and composition of the data set have also to be described. These may be assigned to items of the data collection, where an item may be defined as an individual data value, or a grouping of these, by modifying the item description with the specification of the preperties that apply to it. The notation that will be used will be an infix notation of the form:

operand operator |[extent]|

where the operator indicates the property type, the operand the property value and the optional extent the numer of items to which the property applies. Normally the property is assumed to apply to just the following item in the description. If the property is to apply to more than just the following item description, this is indicated by specifying a number as the extent, this number indicating how many of the following item definitions at the same level the property is to apply to.

Type - The structure description of the data set is a constitutional or syntactic description of the data set. In some cases it is necessary to give a discription of the use or meaning of an element. For example, in some complex data structures, the linkages of the structures may be represented as data values in the data set. Thus, though the more complex data structure is represented in a hierarchical form and, as a result, is in a form describable by the above notation, the data values that represent the linkages, and their meaning, must somehow he represented in the data description in order for the complex data structure to be truly described. As another example, one may wish ascribe to some level of the data structure the type 'record' so that the data set can be used by some system which uses the concept 'record' in accessing the data.

What an initial set of such types should be has not been deicded.

Names - Items of a data structure can be given names by modifying the items description with a notation of the form:

name n |[extent]|.

Depending on the context of its use, the name can refer to the description itself or to the data pertaining to the named part of the description. The name is assumed to be unique only within the scope of extent of the next higher encompassing name unless otherwise indicated by giving another encompassing name as the scope. This may be the name of the whole data set or description, for example. The scope of a name is specified by preceding the inner name by the outer name or names, separated by dots. The name:

A,BETA

indicates that the scope of the name BETA is A.

The name applies to just the following item in the description unless otherwise indicated by including the extent parameter, For exampel, the description:

(An(C,C), (Bn[ 2 ]F,Cn[ 2 ]F,I))

indicates that name A is given to the item that contains two data values of type 'C', the name B to two data values, both of type 'F', and the name C to the last two data values, one of type 'F', and the other of type 'I'. Notice that with this notation, extents can overlap. For example, in the above description, the extent of name B overlapped that of name C.

In a description, the same name can be applied to more than one item definition either by use of the extent parameter, or by actually specifying the name at each item to be included in the extent of the name. If a name is multiply-applied within the same scope, then the name is assumed to apply to the aggregate of the items to which it has been given. Thus is possible to apply names to aggregates of items that are not necessarily sequential.

Lock - During the course of processing data, it may be necessary to lock out use of some portion of data to other users. Seqmentation of a data set into units for locking purposes may be indicated by the notation:

k|[extent]|.

Whether or not the data is locked and the type of lock applied (for example, write protect or read/write protect) is specified at the time the data is used.

Authorization - Authorization for a user to access data may be governed by some access code assigned to the data. This access code can be specified in the description by modifying the desired elements of the description with an indication of the code. The notation is:

code a |[extent ]|