× 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.


  • Subject: RE: SQL Insert Problem
  • From: "DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx>
  • Date: Wed, 30 May 2001 08:29:32 -0500

Frank,
First the standard query: Have you loaded the database group PTFs for this
box? You may have issues with known problems that have been fixed. Next
question: have you tried writing this in RPGIV? I know I've used the varying
character fields without problem, though I know nothing about using float
types. Your problem may be specific to SQL.

Eric DeLong
Sally Beauty Company
MIS-Sr. Programmer/Analyst
940-898-7863 or ext. 1863
 


-----Original Message-----
From: FKolmann@netscape.net [mailto:FKolmann@netscape.net]
Sent: Wednesday, May 30, 2001 4:45 AM
To: rpg400-l@midrange.com
Subject: SQL Insert Problem


I needed to use SQL to write 100000+ records to a 
file with float and char varying data types.
I am using 'packed dec' and char variables so SQL
is doing a data type translation.
EACH Insert is Creating an ODP and then Destroying.
It takes about 18hrs to Insert 100000 records.
I then changed the SQL.
I loaded a MODS (20000 Ocur) and did an Insert
with 20000 ROWS, reload the MODS etc.
For the first 20000 records this worked great,
took about 30secs BUT then the IOs from the 
Input file slowed dramatically to about 5 reads
per second, again impossibly long job.
I suspect a corruption of unrelated ODPs when
SQL Destroys an ODP. Were are RISC on V4.4
(big box dont know the model)
Has anyone else come across this.
Frank Kolmann
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.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.