-8001: User must be connected 

Explanation:

An database session can only be opened with a <CONNECT statement>.

User Action:

Specify a CONNECT statement.