• Subject: Re: Do I need to recreate an access path?
  • From: pytel@xxxxxxxxxx
  • Date: Fri, 22 Jan 1999 14:30:39 -0600

Access plan is first built when you run CRSQLxxx command. It could be
different from a job where you run the program.
If you run the same program from jobs with different CCSIDs, then access
plan will be rebuilt every time CCSID changes.
When access plan is rebuilt, system tries to update access plan which is
stored with the program, which then can be used by all other jobs. If
current user does not have *CHANGE authority to *PGM object, then temporary
access plan will be built and every job will have to generate it's own
access plan.

Another place to look at is STRSEQ settings for access path, access plan
and job(s).

You can look at attributes of access plan (saved with the *PGM) using
PRSQLINF command.

Best regards
    Alexey Pytel


+---
| 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
+---


This thread ...


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

This mailing list archive is Copyright 1997-2019 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].