• Subject: Re: ODP / SQL Question.
  • From: jpcarr@xxxxxxxxxxxx
  • Date: Mon, 29 Jan 2001 22:32:17 -0500

   >>We have a purchased piece of software, that works pretty good, but
   there is one program that seems to suck up our resources.
   So I looked at it, and it happens to be a RPGSQL function, and it does a
   lot of interactive indexing.  So my questions is this.  Can I created a
   logical file similar to this SQL, and index it the same.  So when this
   sql is activated it would be smart enough to use an already created
   index instead of creating one from scratch on the fly?  And if so, is
   there anything special I need to do to attach the logical to the job?
   Thanks, tim>>


   Try this,   STRDBG (you don't have to put in a program name or
   anything).    Call the program.   Look at your job log.   Read the
   messages very carefully.   It will actually tell you (in the second
   level text for one of the messages)  what logical files would help it,
   and what the key should be.
   If this is a batch job,   put a CL wrapper around it to STRDBG for the
   job before the program is called.    Look at the job log (LOGLVL

   Also,   run this command   PRTSQLINF  prompt it and fill out the
   parameters and look as the spool file.

   John Carr

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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-2022 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.