-8001: User must be connected

Explanation:

A database session can only be opened using a CONNECT statement.

User Action:

Specify a CONNECT statement.