SQL query error: token DATA

Tags:
AS/400
DB2
JDBC
SQL Query
I am new to Db2 on iSeries. I am running some SQL script files using JDBC to create a repository on DB2 for my project. The query is of the form: Create table tbl_name(col1 datatype(size),...... ,coln datatype(size)) DATA CAPTURE NONE; I am getting error on token DATA.. I tried to execute this query on iSeries directly even if I am getting the same error. What is going wrong?? If I remove DATA CAPTURE NONE then i am able to execute the query. Thanks in advance.
ASKED: November 4, 2008  5:54 PM
UPDATED: September 23, 2009  4:20 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The term ‘DATA CAPTURE NONE’ is an SQL 2008 term
Journaling on the 400 is about the same — but it’s been around a lot longer.
If a collection exists and you create the table in the collection it will be journalled

———————-
DATA CAPTURE is a valid clause in a CREATE TABLE (and ALTER TABLE) in DB2 on z/OS (mainframe). There are still vast differences between DB2 for z/OS and DB2 for other platforms.

meandyou

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following