If you create COLLECTION (Library) on the iSeries 400, the system will auto create the Journal QSQJRN and Journal...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Receiver QSQJRN0001 and other system table. When you use SQL CREATE TABLE, INSERT, UPDATE, DELETE statement, the system will auto journal any operation for all table in the COLLECTION.
But if you use the CRTLIB command to create library, the system will not journal all files in the library created with CRTLIB command.
When you use ODBC, JDBC, Net.Data to do CREATE, INSERT, UPDATE, and DELETE operation, you will get the SQL7008 message, but SELECT can run normally.
So you must:
1. CREATE Journal Receiver in the library CRTJRNRCV JRNRCV(your-library/QSQJRNRCV)
2. CREATE Journal in the library CRTJRN JRN (you-library/QSQJRN) JRNRCV (your-library/QSQJRNRCV)
3. Start Journal Physical File STRJRNPF FILE (your-library/your-file) JRN (your-library/QSQJRN) IMAGES(*BOTH) OMTJRNE(*OPNCLO)
4. Rerun your AP, JSP or servlet, you will not get SQL7008 message again.
MORE INFORMATION ON THIS TOPIC
Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.
The Best Web Links: tips, tutorials and more.
Check out this live Q&A with Dave Slater and Jim Mason, How to best get started with WebSphere Development Tools.