WHAT

Syntax

── WHAT ───────────────────────────────────────────────────────────────┤

Explanation

The WHAT command indicates the state of the work file. The amount of information provided varies, depending on the current state of the work file; the amount of information relevant or available is indicated. The output may include the following information:

  • Title (name)

  • Type (filekind)

  • Number of records

  • Sequence number of last record

  • Object file presence

  • Saved or unsaved status

  • LOCKEDFILE file attribute setting

Example

WHAT
#WORKFILE PAYROLL/INFO:SEQ,SAVED
 LOCKEDFILE=TRUE