-
SQL0150 bei insert in Tabelle
Hi,
wir haben auf unserer i5(V5R4) seit ein paar Tagen folgendes Phänomen. Bei einem insert in eine Tabelle mit 5 Feldern bricht das Statement sporadisch mit diesem Fehler ab:
SQL0150
Message Text:
View or logical file &1 in &2 read-only.
Cause Text:
Update, delete, or insert is not allowed. &1 in &2 can be used only for read operations. A view or logical file can be used only for read operations if one or more of the following conditions are true: v The view contains a DISTINCT keyword, GROUP BY clause, HAVING clause, or a column function in the outer-most subselect. v The view or logical file contains a join function. v The view contains a subquery that refers to the same table as the table of the outer-most subselect. A view of this type may be used for inserting rows. v All the columns of the view are expressions, scalar functions, constants, or special registers. v All the columns of the logical file are input only. v The select list of the view omits a column of the based on table that does not allow null values or default values. Inserting into the view is not allowed.
Recovery Text:
Change the statement to insert, delete, or update data into the base table of view &1. All columns of the table that do not allow null values or default values must
Es handelt sich hierbei aber um keine View oder logische Datei. Wir haben bereits versucht das Objekt selbst, aber auch alle abhängigen Objehte, neu zu erstellen. Ohne positivem Ergebnis.
Kann es sein dass hier irgendein temporärer erstellter Index den Fehler hervorruft? Das letzte IPL der Maschine liegt 2 Monate zurück.
Vielen Dank für eure Hilfe
Grüße
Martin82
Similar Threads
-
By Robi in forum IBM i Hauptforum
Antworten: 20
Letzter Beitrag: 16-03-09, 10:32
-
By mama in forum IBM i Hauptforum
Antworten: 12
Letzter Beitrag: 27-10-06, 08:14
-
By M.Kasper in forum IBM i Hauptforum
Antworten: 6
Letzter Beitrag: 25-08-06, 07:32
-
By loeweadolf in forum NEWSboard Programmierung
Antworten: 2
Letzter Beitrag: 20-01-06, 15:23
-
By Schorsch in forum NEWSboard Programmierung
Antworten: 2
Letzter Beitrag: 07-05-04, 11:18
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks