Skip to content

System Command

Obsolete

This command is replaced by the Abort command.

Purpose

To terminate execution of the running DataFlex program, of DataFlex itself, and return execution to the operating system.

Syntax

system

What It Does

The system command closes any open database files and returns execution to the operating system.

system

To return to DataFlex after execution of a system command, it is necessary to execute FLEX or DFRUN from the operating system.

If the DataFlex program running was called from another DataFlex program by a chain wait command, system returns execution to the calling program, rather than to the operating system.

Notes

  • system is similar to abort, except that abort exits to the menu (if any) from which the program was executed, while system always exits directly to the operating system.

  • If you are running DataFlex under a batch file, system causes the next command in the batch file to execute, as any exit to and return from the operating system does.

  • runprogram will pass execution from DataFlex to any other program named in the runprogram command present on the disk.

  • If the DataFlex program was called from another DataFlex program by a chain wait command, system returns execution to the calling program, rather than to the operating system.