Trying to get ODBC working. Not sure how to address this error. Help?
Trying to get ODBC working. Not sure how to address this error. Help?
Kevin,
I suspect the relevant dictionary entries that were used to create the view concerned have been modified since the views were created. Alternatively a view or dictionary from one location has been grafted into another where the dictionary does not match. Whatever the chnges were, the view no longer matches the file dictionaey. Chck the file dictionary and also any change logs you might keep - worst case you may need to drop and recreate the view and re-grant access s appropriate.
Hoping this helps
JJ
Trying to get ODBC working. Not sure how to address this error. Help?
John, what is standard procedure for dropping and rebuilding the view. Is that done with the SQL command at TCL or have better tools come about to do it (since the VSG is so gawd-awful).
Trying to get ODBC working. Not sure how to address this error. Help?
Kevin,
You can use SQL commands at TCL to drop views - DROP VIEW view_name. The vatious command-line SQL commands are covered in the SQL reference guide. You can also use CONVERT.SQL file_name CHECKONLY which can be informative sometimes.
If using VSG to create views it is useful to display the SQL and save it. It can then be executed at the command lne if needed to re-create the original view(s) and also grant appropriate permissions at any time. I usually save the SQL statements in a PAragraph or PROC for ease off use.
Regards
JJ
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.