I'm running ADS 10.0.7 on Windows 7. I've also tested the following on another computer running ADS version 9.xx with the same results. I'm connected to an iSeries DB2 database.
I created a view using Aquadata as follows:
CREATE VIEW vwErrors( ID, MESSAGE_ID, VALIDATOR_NAME, TYPE, MESSAGE, DETAILS, FIELD_NAME, RT, TT, DAY_HEADER_ID)
AS
select ID, MESSAGE_ID, VALIDATOR_NAME, TYPE, MESSAGE, DETAILS, FIELD_NAME, REPORT_TYPE as RT, TRANSACTION_TYPE as TT, DAY_HEADER_ID
from VALERRORS
GO
The view works fine, but when I right click on the view in Server Explorer and select "Script Object o Window As..." - "Create", I get this:
-------------------------------------
DROP VIEW CRMINT.VWERRORS
GO
CREATE VIEW CRMINT.VWERRORS ( ID, MESSAGE_ID, VALIDATOR_NAME FOR VALID00001, TYPE, MESSAGE, DETAILS, FIELD_NAME, RT, TT, DAY_HEADER_ID FOR DAY_H00001 )
AS
GO
...a bunch of GRANT statements here...
-------------------------------------
The body is completely missing. The same happens if I go directly to "Alter View"
Harry
![]() |
6 KB
![]() |
7 KB
![]() |
14 KB
Well, I think you've found the problem. I ran the SQL you supplied and it returned:
>[Error] Script lines: 6-24 -------------------------
[SQL0551] Not authorized to object SYSCOLUMNS in CRMINT type *FILE.
[Executed: 2/10/2012 2:33:41 PM] [Execution: 0ms]
---------------------------------------------------------------------------------------------------------
I'll check with our iSeries admin on this and get back to you.
Well, I think you've found the problem. I ran the SQL you supplied and it returned:
>[Error] Script lines: 6-24 -------------------------
[SQL0551] Not authorized to object SYSCOLUMNS in CRMINT type *FILE.
[Executed: 2/10/2012 2:33:41 PM] [Execution: 0ms]
---------------------------------------------------------------------------------------------------------
I'll check with our iSeries admin on this and get back to you.
Apparently the permission's issue has been fixed. At least with the tables in question. I've attached the results of the query you sent me (viewDefProblem.xls).
My original problem still exists. I used IBM's iNavigator to script the view and it works.
Apparently the permission's issue has been fixed. At least with the tables in question. I've attached the results of the query you sent me (viewDefProblem.xls).
My original problem still exists. I used IBM's iNavigator to script the view and it works.
Can you script, then send us your application logs from <USER_HOME>\.datstudio\logs\*? You can attach or email to architect@aquafold.com.
Can you script, then send us your application logs from <USER_HOME>\.datstudio\logs\*? You can attach or email to architect@aquafold.com.
I scripted the view twice, using two different log in's, and attached datastudio.log and startup.log. To keep it simple I removed everything from prior to today. I see the error in the log, but don't understand it. I'd appreciate any help. I’ll also be reviewing this with our iSeries admin on Monday.
Thanks,
Harry
I scripted the view twice, using two different log in's, and attached datastudio.log and startup.log. To keep it simple I removed everything from prior to today. I see the error in the log, but don't understand it. I'd appreciate any help. I’ll also be reviewing this with our iSeries admin on Monday.
Thanks,
Harry
Issue #6428 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 10.0.7_03 |
No time estimate |