473,320 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

View Error : Iseries Navigator

Hello,
I am on creating a new Logical file (View) using the ISeries Windows
Navigator for DB2/400 V8. It is based on SQL Query. when the physical
files in SQL Query are updated, the View fails and does not execute
anymore, I get "SQL system error" But if i just run SQL Query through
SQL editor it works fine. I am not sure whats wrong.

Please help.

SQL statement the Logical created on
====================================
SELECT
TMPF.*,
JP.POSITION_ID AS POSITIONID,
JP.POSITION_TITLE AS POSITION
FROM TRNWORK.TRNMTVIEW TMPF
LEFT OUTER JOIN TRNWORK.JOBPOSVIEW JP
ON TMPF.POSITION_ID = JP.POSITION_ID

==========================================
Error : when i try to open the View
SQL system error.

Message ID: SQL0901

Cause . . . . . : An SQL system error has occurred. The current SQL
statement cannot be completed successfully. The error will not prevent
other SQL statements from being processed. Previous messages may
indicate that there is a problem with the SQL statement and SQL did not
correctly diagnose the error. The previous message identifier was
CPF4204. Internal error type 3107 has occurred. If precompiling,
processing will not continue beyond this statement.

Recovery . . . : See the previous messages to determine if there is a
problem with the SQL statement. To view the messages, use the DSPJOBLOG
command if running interactively, or the WRKJOB command to view the
output of a precompile. An application program receiving this return
code may attempt further SQL statements. Correct any errors and try the
request again.

Nov 12 '05 #1
1 5838
Endif wrote:
Hello,
I am on creating a new Logical file (View) using the ISeries Windows
Navigator for DB2/400 V8. It is based on SQL Query. when the physical
files in SQL Query are updated, the View fails and does not execute
anymore, I get "SQL system error" But if i just run SQL Query through
SQL editor it works fine. I am not sure whats wrong.

Please help.

SQL statement the Logical created on
====================================
SELECT
TMPF.*,
JP.POSITION_ID AS POSITIONID,
JP.POSITION_TITLE AS POSITION
FROM TRNWORK.TRNMTVIEW TMPF
LEFT OUTER JOIN TRNWORK.JOBPOSVIEW JP
ON TMPF.POSITION_ID = JP.POSITION_ID

==========================================
Error : when i try to open the View
SQL system error.

Message ID: SQL0901

Cause . . . . . : An SQL system error has occurred. The current SQL
statement cannot be completed successfully. The error will not prevent
other SQL statements from being processed. Previous messages may
indicate that there is a problem with the SQL statement and SQL did not
correctly diagnose the error. The previous message identifier was
CPF4204. Internal error type 3107 has occurred. If precompiling,
processing will not continue beyond this statement.

Recovery . . . : See the previous messages to determine if there is a
problem with the SQL statement. To view the messages, use the DSPJOBLOG
command if running interactively, or the WRKJOB command to view the
output of a precompile. An application program receiving this return
code may attempt further SQL statements. Correct any errors and try the
request again.


Are there any previous messages? If so, can you post the message ID(s)
and the message text?

--
Karl Hanson
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave Sisk | last post by:
Hi folks: We have a script containing DDL statements to create tables and indexes, etc. On DB2 for Unix, I'd do a "db2 -tvf script_name.sql -z logfile_name.log", but I don't think that works on...
0
by: PASQUALE | last post by:
Hi, I am new to DB2 on AS/400. Actually I use the 'Run SQL Scripts' - tool in iSeries Navigator to access the database by SQL. The question is: Is there an alternative (or maybe better) tool for...
1
by: Endif | last post by:
I am tring to execute the following SQL statements through the Iseries Navigator for DB2/V8.2, But i come up with an error saying recursion is not allowed in common table expression. This is a...
17
by: Sulu's Beard | last post by:
Hey gang, I'm evaluating the CA ERWin product for an upcoming data warehousing project. I'm most excited about the reverse engineering aspect of this system. I've sucessfully tested it on a...
0
by: Twan Kennis | last post by:
Hello! I do have the following problem: I've developed a Windows application which communicates with a DB2-database on the iSeries platform using an ODBC-connection string. This...
2
by: Shirley | last post by:
We are running DB2 on iSeries V5R2. Using AQUA DATA STUDIO with a connection to our iSeries, I created a view using SQL and I am trying to create an index on this view using the code below. ...
0
by: mike1402 | last post by:
Hi ! I get the error below sometimes when retrieving a big amount of data using Datadapter.Fill(dataset,"table"). But when I send the command Fill again, there is no error. Is it a fault of...
1
by: erebus | last post by:
Consider an Employee table with columns employee id , employee name, salary, department name and department number. We need to find “count” of the aggregate function, say sum of salary, grouped...
6
by: Al G | last post by:
Can someone tell me what I need to get connected to our AS400? I am trying to write an app in VS2005(Data source, Gridview) that requires data from files on our AS400. I've downloaded DB2, and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.