AL Append File List with New Selection

AL Append List. CFS displays the selection mask. The current file list can be extended by adding additional data objects of the same type i.e. files from the same or another userid, or elements from the same library. It is not possible to mix data objects of different types, or elements from different libraries.

AL param The FILENAME-SELECT and other fields of the selection mask are filled with the param contents, and the file list is extended with the newly selected files. Manually entering the desired selection criteria in the selection mask is not necessary in this variation of the AL command.

param the same options can be given for param as for the NP command (NP param) page 7-.

If the current file list consists of elements from a library, and it is to be extended by the AL command with further elements from the same library, then the folowing abbreviation is possible. The prefix LMS lib / FMS lib / LMR lib necessary to select a library element can be omitted, since it will be supplied by CFS.

Example:  AL XYZ;AG=0

The file list will be appended with all elements from the current library which contain the string 'XYZ' in their name, and which have an age of 0 days.

AL %name | %? [,jrsave] [,?] [;param]

The FILENAME SELECT and other fields of the selection mask will be filled with the contents of the specified parameter set, and the file list extended with the files found that match the selection criteria.

%name Name of the parameter set with the selection criteria.

%? All the relevant parameter sets will be displayed in a list, from which one can be selected by marking it.

jrsave Name of the JRSAVE file containing the specified parameter set.

Standard: CFS.JRSAVE.xxxx. For further information, see page 27-.

? The selection mask will be filled with the contents of the parameter set, and displayed for the user to accept or modify. Normally, the selection will be made immediately.

param With the exception of filename-sel, the same options can be given for param as for the AL param command (see above). The values specified for param will supercede those in the parameter set.

AL* This variation of the AL command causes CFS to switch to the selection mask, which is pre-filled with the selection criteria last used (in contrast to NP*).

Notes:

Regarding "Inserting files into the file list", the command I (Include) should also be noted. The command NP will create a new file list; the old list is lost.

The step of extending the file list can in many cases be saved by using suitable multiple selection criteria (AND/OR options, wildcard syntax) in the first place. For further information, see page 4-.