Usually when you get an error message that has an error code, as in your case -1024, that is another error that the utility encountered. Error codes that are positive are warnings and ones that are negative are errors. THese map directly to SQL codes, in your case SQL1024N which is "a database connection does not exist".
You need to connect to a DB to issue GET AUTHORIZATIONS
Explanation: There is no connection to a database. Other SQL
statements cannot be processed unless an SQL CONNECT was
The command cannot be processed.
User Response: If the error occurred when disconnecting from the
database, continue processing. If the error occurred on another
SQL statement, issue an SQL CONNECT statement and resubmit the
command or statement.