Interactive SQL does not accept @filename parameters.
Exit codes are 0 (success) or non-zero (failure).
Example 1
The following command, entered at a
system prompt, runs the command file mycom.sql against
the current default server, using the user ID DBA and the
password sql. If there is an error in the command
file, the process terminates.