-1001 CLI2 error - check SQLERRD to determine cause
An internal request for allocation/deallocation of storage has failed. Use the first SQLERRD element to determine the cause. This error occurs with mainframe environments only.
See the Messages to determine the cause. Follow the recommended action. If the problem persists or cannot be found, contact your support personnel for assistance.