ADD Add File to Library

ADD file [, library] [, element]    Variation 1: No element type specified

Add file to library as an element.

Entering the library name is not obligatory, if one of the following conditions are fulfilled:

a) The file list consists of elements of a library, and the specified file is to be added to this same library.

b) A library name was specified in a previous ADD command, and the current ADD is to the same library.

Giving an element name is optonal. If no element name is specified, then one will be constructed from the file name according to the following rules (dependent on the library type):

FMS : Element name = File name

LMS (ISAM) : Element name = first 8 characters of the last partial qualification

PLAM : Element name = File name.

The element type for PLAM will be requested in this case.