HELP: List versions and directory content of archives
TYPE: OBJECT
SYNTAX: LIST(NET.{},STORE/SAVE.{},DECRYPT.{},CONTENT=ARCHIVE/STORE/BOTH,FORMAT=LIST/XML,VERBOSE=MINIMAL/NORMAL/STANDARD/MAXIMAL,DIRLIST/OUTPUT='str'/STDOUT/STDERR,ROWLIST='str'/STDOUT/STDERR,POTLIST='str'/STDOUT/STDERR,LOGGING.{},MESSAGE(),NORUN)
The LIST subcommand can be used to list the versions, keys and directory content of a FLAM archive in several formats. You can also generate a list of the row specifications of the respective archive, which contain the structure of the data and the indexing of the columns. Such a ROWLIST can be used in the FILTER command so that you do not have to explicitly specify the indexing for the search query (FILTER).
The list of encrypted keysets is supplemented by a PGP dump with VERBOSE=MAX. This list can also be used to remove keysets with the DELKEY command by using the index displayed here.
Furthermore, the pot design can be displayed so that not only the formats but also the pots used can be seen together with the compression and encryption parameters.
With CONTENT you decide WHAT is listed. The default, ARCHIVE, lists the archive the STORE parameter points at. CONTENT=STORE instead lists the content of the storage that archive lies in: which FLAM5 archives and which other objects are in the bucket, the container or the folder. CONTENT=BOTH produces both reports, the archive first.
For CONTENT=STORE the archive itself is never opened and does not have to exist. The PREFIX of the store parameter is the search root of the listing rather than the namespace of one archive, so a store definition without a PREFIX lists everything the credentials can reach, and a PREFIX narrows it. The prefix is compared byte by byte, so PREFIX=arc also selects arc2/... - specify PREFIX=arc/ if you mean the namespace.
An archive is recognised by its name alone: FLAM5 makes a version visible with a root object, so no object has to be read and the whole inventory costs one request per listing page. Objects that are not part of a FLAM5 archive are reported separately, including those that lie under an archive prefix - an object count that silently included them would be a wrong statement about the archive.
VERBOSE controls the detail: MINIMAL reports the counts only, NORMAL adds one line per archive with its object count, size and newest timestamp, and MAXIMAL adds every single object with its size, its last modification and, where the storage reports one, its storage class.
The report follows the same convention as the member list of an archive: lines that begin with a hash are headers and comments, and the entries of the list itself carry no hash. Each entry is one parenthesised, colon-separated row whose columns are named by the hash line above it, so a script filters the hash lines out and parses the rest.
The report about the archive itself names the store it lies in behind the format, and for a flat file store it names the file as well: the size, the last modification, the last access and the attributes of the archive file itself, in parentheses. Every other store says nothing there, because for a bucket, a container or a folder those values would describe the container rather than the archive -- a folder directory carries the time of the last object write and the mode of the umask, and a cloud store has no file at all. A value that cannot be read is left out rather than printed as a zero, and a store with nothing to say adds no parentheses at all, so for those the line reads exactly as it did before.
#INFO ABOUT FLAM5-ARCHIVE: FLATFILE(kunde1.flam) # ARCHIVE FORMAT: FILE (SIZ(1144), MOD(2026-09-17 10:00:44), ACS(2026-09-17 10:12:03), ATR(-rw-rw----/----)) # ARCHIVE INFO: ArcType=COMPLETE, CrySuite=V06-A22-CRC, CmpSuite=GZIP, MainId=1, FkmeId=0x00000000
With FORMAT=XML the same four values are attributes of the FlmArc element, named after the facts rather than after the keys of the text report.
<FlmArc Ident="FLATFILE(kunde1.flam)" Format="FILE" ... Version="1" Bytes="1144" Modified="2026-09-17 10:00:44" Accessed="2026-09-17 10:12:03" Attributes="-rw-rw----/----">
#CONTENT OF STORAGE: S3 endpoint=https://s3.eu-central-1.amazon... # SEARCH PREFIX: (everything) # ARCHIVE COUNT: 2 # OBJECT COUNT: 8 # OTHER OBJECTS: 0 (0 bytes) -- not part of any FLAM5 archive # TOTAL SIZE: 2281 bytes # ANSWER: complete #ARCHIVE LIST: #OBJECTS:FOREIGN:SIZE :NEWEST :PREFIX ( 4: 0: 1137:2026-09-17 10:00:44:kunde1) ( 4: 0: 1144:2026-09-17 10:00:44:kunde2)
The FOREIGN column counts objects that lie under the prefix of that archive without belonging to it.
With FORMAT=XML the same report is one document instead: FlmSto with a FlmStoArc element per archive and, with VERBOSE=MAXIMAL, a FlmStoObj element per object. CONTENT=BOTH then wraps the archive document and the storage document in a common FlmLists root, because a document can only have one root element - so a consumer that asks for BOTH reads FlmLists, and one that asks for a single report reads FlmArc or FlmSto directly.
The storage class deserves attention for cloud storage. An object in a cold tier - GLACIER on S3, the archive tier on Azure - cannot be read back without a restore that takes minutes to hours, so a listing that shows one tells you why a decompression from that archive would fail.
Not every storage can be listed. A single flat file has no namespace to enumerate, and a provider behind the FSEG or FOBJ interface offers no listing function, so both are refused with a message that says so. Listing over a network connection to a FLAM server is not supported either. IBM Cloud Data Access paginates internally and cannot be asked to continue, so its answer may be incomplete; the report says whether it was complete and never hides a truncated listing.
To get syntax information, please use:
flcl SYNTAX ARCHIVE.LIST
To get help for a parameter, please use:
flcl HELP ARCHIVE.LIST.parameter[.parameter[...]]
To read the manual page for a parameter, please use:
flcl MANPAGE ARCHIVE.LIST.parameter[.parameter[...]]
or
flcl HELP ARCHIVE.LIST.parameter[.parameter[...]] MAN
To generate the user manual for the command, please use:
flcl GENDOCU ARCHIVE.LIST=filename
Parameters can be defined via command line (directly or by parameter file) or via properties taken from the corresponding property file.
NUMBER: CONTENT=ARCHIVE/STORE/BOTH - Select what is listed: the archive or the storage it lies in [ARCHIVE]
ARCHIVE - List the content of the FLAM5 archive [DEFAULT]STORE - List the content of the storage the archive lives in (which archives and which other objects are there)BOTH - List the archive first and the storage afterwardsNUMBER: FORMAT=LIST/XML - Specify formatting of information [LIST]
LIST - Provide information as listXML - Provide information in XML-structureNUMBER: VERBOSE=MINIMAL/NORMAL/STANDARD/MAXIMAL - Specify amount of information for listings [NORMAL/STANDARD]
MINIMAL - Minimal informationNORMAL - Normal/standard informationSTANDARD - Normal/standard informationMAXIMAL - Maximal informationSWITCH: NORUN - Don't run the command, only show parsed parameter