2020 June Release

Defining a Loader ObjectPermanent link for this heading

A loader object is a sequence of object descriptions to be created from a data input line consisting of unique columns.

Syntax

loader reference {
  columns {

    Col1, Col2, "Column 3",

  }

  …
}

Columns can be references or strings.

Loader Object DescriptionsPermanent link for this heading

The rest of the loader consists of loader object descriptions. These specify the object class, an optional class index, an optional name and class properties. If the create keyword is used, the object is created if not found.

This is followed by a list of property assignments. Each property assignment can have optional options before the asignment symbol.

Syntax

[create] class [<index>] [as Name] {
  userlogname = column Name; // [1]

  emailinformation = [{ // [2]

    emailaddress MAPOPT_AGGREGATEKEY, MAPOPT_MUSTBEDEF, key = column U1EMail1;

    addrtopic = #TermEMail1;

  },

  {

    emailaddress MAPOPT_AGGREGATEKEY, MAPOPT_MUSTBEDEF = column U1EMail2;

    addrtopic = #TermEMail2;

  }]

  usermemberof = { [3]

    Group

  }

}

Value AssignmentsPermanent link for this heading

The simplest assignment is just a property definition and a value. The assigned value can be any of the following types

  • The keyword column and a column as reference or string
  • a fixed string
  • a reference to an object as object address or reference

Aggregate AssignmentsPermanent link for this heading

To create aggregate properties or aggregate list properties, the values of the aggregate properties have to be specified as assignments just like object descriptions

Object AssignmentsPermanent link for this heading

To create object pointer properties, a list of loader object definitions or loader object references can be used.

Loader object references are either the specified name or the object class with an optional index.