option #2

Default file specification on STOP

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

System option #2 controls the default file specification for the STOP statement.

If you set option #2, the file extension and path default to the extension and path of the program requesting the chaining. For example, on Unix, if you run a program called current with the following command line:

dbr /usr/mine/current.app

the statement

STOP next 

causes the program to chain to /usr/mine/next.app.

If you don’t set this option, the file extension defaults to .dbr on Windows and Unix and to .exe on OpenVMS, and the path defaults to the current directory. For example, if you chain to a program called next from the program /usr/mine/current.app on Unix, the Synergy runtime attempts to transfer execution control to the program next.dbr in the current directory.