The LIST command will fill the command's list object with absolute file names. A single field working list is required to receive the canonical file paths.
If a directory path specified by the DIR keyword is used then filenames in that directory will be selected.
LIST DIR(/xmldata) EXT(XML) SERVICE_LIST(PATH)
This will return a list of filenames in the /xmldata directory that have an XML extension.