Contents - Index


 

Use FileList to create a List session of a file.

 

FileList may also be entered as FileLi[st], ListFile, LiFile, or Li[st].

 

Optional Operands

 

FILE is an existing BIM, workstation, PDS, or VSE file.  FILE can also be specified as $LOG, $Mail, or $Stack.  ($LOG is the User Log, $Mail the mail log, and $Stack is the Clipboard)

 

 Default: last referenced file.

 

FMT [Support provided for workstation files only.  BIM, PDS, and VSE files are always displayed in text format] specifies the format in which to display the file. Specify "T[ext]" to display the file in a text format.  Specify "D[ump" to display the file in a hexidecimal dump format.

 

 Default: "Text" except for files with one of the following extensions:, where the default is "Dump":

 

DLL

EXE

FNT

FON

ICO

OBJ

RES

 

 

FileList can also be invoked by entering the ContextList command while a FileLibrary or FileScan session is current.  FileList sessions do not allow updates to take place.  If the file is currently being edited, FileList will display the text of the file ignoring any changes made in the edit session.

 

FileList creates a session with the text and attributes of an existing file. For workstation files, if attributes have never been defined for the file, FileListwill use attributes from a template file.

 

FileList sets last referenced file.

 

When Valid

 

For host files, the user must have LIST access level for the FILE directory.

 

Return Codes

 

OK Successful.

NF File not found.

SC Inadequate access level.

 

Procedure Notes

 

FileList sets the TXM variables to the attributes of FILE.

 

Examples

 

List workstation file README.DOC from the root directory of drive A:

 

   => li a:\readme.doc

 

List BIM file RM3521:

 

   => li rm3521

 

List the log:

 

   => li $log

 

List the mail log:

 

   => li $mail

 

List the stack area:

 

   => li $stack