SQL Packages

IBM iSeries SQL Packages FAQ

Read Time:1 Min, 32 Sec

SQL PackagesIf you use an IBM iSeries, AS/400, System i, just i or whatever IBM is calling their powerhouse processing server nowadays, SQL Packages seem to be the price you pay for speed.

Go to the IBM Support page SQL Package Questions and Answers to get answers to the following:

  1. What are SQL packages?
  2. When do SQL packages get created?
  3. How are SQL packages named?
  4. What library does the SQL package go into? Is there a preferred library for SQL packages?
  5. What are the advantages of using SQL packages?
  6. Do all prepared statements go into an SQL package?
  7. How can I tell what statements are in an SQL package?
  8. Can the same statement appear multiple times in the same SQL package?
  9. How can I determine if the SQL package is being used?
  10. What data is stored in an SQL package?
  11. How big is an SQL package?
  12. Are there any negative performance considerations for using large packages?
  13. What happens when SQL packages get full?
  14. Are there other times when an SQL package can become unusable?
  15. When should I delete SQL packages?
  16. How do I delete SQL packages? – DLTSQLPKG
  17. How do I restore the IBM-supplied packages?
  18. Why can’t I delete a package with a name of _CSETUP (or other nonstandard system object names)?
  19. What are the QSQLPKG2 and QSQXDPKG packages in QSYS for? Can they be deleted?
  20. What are the “best practices” for using packages?

Like I said, SQL Packages are great but not managing them can really cause issues. The truest statement on that page is “the time it takes to debug a problem due to incorrect information in a package can be costly.” Usually, you don’t know it is an SQL Package issue until you have put hours into troubleshooting because deleting them is usually the last resort.

Have any tips for dealing with SQL Packages?

Author

Stewart Schatz

Career: Principal CNC Consultant for Syntax Systems Limited specializing Oracle JD Edwards EnterpriseOne and the technology that supports it. Side Hustle: Owner/Operator of E1Tips.com Location: Lancaster, PA USA  What I like to do: Invest in Family, Explore Technology, Lead Teams, Share Knowledge/Experience, Hunt, Hike, etc.
Happy
Happy
0
Sad
Sad
0
Excited
Excited
0
Sleepy
Sleepy
0
Angry
Angry
0
Surprise
Surprise
0

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

2 thoughts on “IBM iSeries SQL Packages FAQ

  1. This is a very poorly written article. You don’t give the reader any solutions but rather point them to IBM’s pages which they can get to via any decent Google search. I think the primary goal of this writing is to criticize JDE running on the IBM i platform. My personal experience is that JDE doesn’t run the fastest on the IBM i platform, but from a manageability standpoint, and CNC Resources needed, IBM i is the best platform for ease of use, management, and requires the least amount of technical resources.

    Companies who want to get the best ROI, should use JDE on IBM i. If you need raw speed and are not concerned on how many people you pay to manage application, you can choose a vast array of more complex configurations.

    1. Interesting take on this post. Granted, I could have copy & pasted the info from the IBM site, but I really don’t think there is much integrity in that. Like most of my posts, it was a quick pointer to more information. If you follow any of my writing, you would know that I respect the IBM i platform a lot. The stability seems to be unmatched when compared to my experiences with the other platforms (Linux & Windows). You gotta admit, the SQL Package thing can really be a pain in the butt!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post Microsoft CVE-2018-0886 Changed CredSSP & Disabled RDP
needle-in-haystack Next post Needle – Overview of Specifications (SPEC) in Oracle JDE EnterpriseOne