The behavior of the SetTitle logic command is influenced by:
The category of the extract file (Temporary, Permanent, or Existing). Refer to SendListDynamic for more information on the extract file categories.
If the Exist command option is not specified, the file category is changed to Permanent.
If the Exist command option is specified, the file category is changed to Existing.
Whether the extract file has previously been accessed.
An extract file access is defined as the execution of any Determine Actual, Extract, or Match logic statement, or Sort invocation for a specific extract file, either in the logic of the report, or following a SetTitle or Restart logic statement.
The SetTitle logic command modifies the extract file as listed in the following table.
File Status | Temporary File | Permanent File | Existing File |
---|---|---|---|
File exists, accessed | Deleted | Closed | Closed |
File exist, not accessed | Deleted | Cleared | No action |
File does not exist | No action | Created | No action |