× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> I am trying to write a perl script to do database access to
> a DB2 database on an AS/400.  (I have about 75 perl scripts
> running on a production UNIX box, and want to move some of
> them to this platform.)
>
> If I just do database SELECTs, everything works fine.
> (So that tells me that perl is installed correctly, [5.00502]
>  and DBD [ 0.74 ] and DBI [ 1.06 ] are also up and running.
> Other vitals are OS/400 V4R4, DB2 database running BPCS.)
>
> If I try to do an update, I get a -7008 error:
>   <table> in <library> not valid for operation.
>
> If I create a journal (database logging) for the table, then
> everything works fine.  
>
> I have tried playing with the AutoCommit switch:
> $dbh->{AutoCommit} having values 0 and 1
>
> and it doesn't seem to help.
>
>  So, how can I use perl to update a BPCS table?  What is the 
> impact of journalling the BPCS tables?  How big is the performance
> hit of journalling?


+---
| This is the BPCS Users Mailing List!
| To submit a new message, send your mail to BPCS-L@midrange.com.
| To subscribe to this list send email to BPCS-L-SUB@midrange.com.
| To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: dasmussen@aol.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.