Technote (troubleshooting)
Problem(Abstract)
Running any of the following commands gives error "GLS initialization failed, error -1212"
oninit -iyv
onstat -
oninit -V
dbaccess -V
Cause
Environment variable, DBDATE is set to blank
Diagnosing the problem
Check environment variable DBDATE.
Resolving the problem
Follow any one of the below specified options to resolve the problem.
1. Unset environment variable DBDATE, or
2. Set DBDATE to a valid format.
For example:
In C-shell, setenv DBDATE MDY2/
In ksh or bsh shell, export DBDATE=MDY2/
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.