Reporting : Native reporting system : Reporting system command language : EXTRACTFILE subcommand
  
EXTRACTFILE subcommand
The EXTRACTFILE subcommand is used with the SETTING command to specify the DOS path and filename (without its extension, such as TXT). The named file is used to save or read an extract database.
This subcommand must be included when EXTRACT is yes; it tells the Reporting System where to put the created file
The structure of this statement is:
SETTING { EXTRACT [ YES | NO ]
EXTRACTFILE file-name-no-ext }
The following example creates an extract file called sr-mgmt.
SETTING { EXTRACT yes
EXTRACTFILE sr-mgmt }
Notes
1 System Architect does not provide protection against overwriting an existing file with the same name.
2 The EXTRACTFILE subcommand can only be placed in a report in text mode. For more information, see Edit <report name> – Text Mode dialog. This function is not supported by the Report Editor.
Parent topic
Reporting system command language