The nzsql session history
On UNIX clients, the Netezza Performance Server system stores the history of your nzsql session in the file $HOME/.nzsql_history. In interactive sessions, you can also use the up-arrow key to display the commands that you ran.
On Windows clients, you can use the up-arrow key to display the commands that ran previously.
nzsql -v ON_ERROR_STOP=
You do not have to supply a value; defining it is sufficient.
\set ON_ERROR_STOP
\unset ON_ERROR_STOP
You can use the $HOME/.nzsqlrc file to store values, such as the ON_ERROR_STOP, and have it apply to all future nzsql sessions and all scripts.