OLDLIST Display earlier file list

OLDLIST file [, param] The file list is created from those names contained in:

a) CFS Documentation file. A documentation file is created by entering a file name in the DOCUMENTATION field of the Selection mask. A documentation file can also be created using the DOC and SL (Save List) commands.

b) Reference file. A referance file is any SAM file in which every record contains a file name. A reference file can be created as follows, for example:

 - With the following FSTAT command:

/FSTAT ....,LIST=file or /FSTAT ....,LIST=(file,F)

The contents of this List file will be read by CFS.

 - In EDT , using @FS 1 and @W'file

 - Using the CFS Variable Action DPF: ONXDPF file

param It is possible to perform a multi-stage selection by entering an additional search condition, param, or by entering additional selection criteria in other selection mask fields.

Example:

FILENAME-SELECT : OLDLIST file,:1:'ABC'

AGE : >60

will select all those files from the specified documentation file whose name begins with the string 'ABC', and which have not been amended in the last 60 days.

Notes:

Specifying the NO (Names Only) User Option in conjunction with the OLDLIST option will result in a file list being created in which the actual existence of the files from the reference file list is not checked. A file list can thus contain file names that do not exist on the host.

For additional information on the subject of restoring earlier file lists, see the commands SL/ RL (Save List/Restore List) on page 7-/7-, ADOC (Automatic Documentation) on page 18- and DOC on page 18-, as well as the DOCUMENTATION field of the Selection mask on page 4-.

Example of an application for the OLDLIST option.

Fetching files from a remote computer using FT-BS2000.

A list of file names (Reference file) is created on the remote host with the FSTAT ...,LIST=file command. This Reference file is transfered to the host computer with the NCOPY command. Entering

FILENAME-SELECT : OLDLIST file

USER OPTION : NO

will display on the host computer that file list that was created on the remote computer. Marking the required files with an 'X', and entering the Variable Action ONXFT rem-host,user-id,acct, passw,,,,FROM will result in those marked files being transfered from the remote computer to the host system.