• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Parameter Passing and Performance

    June 20, 2007 Ted Holt

    There are three ways to pass a parameter to a procedure: by reference, by value, and by read-only reference. These methods are not interchangeable, and passing parameters by value can have unfavorable effects on performance. In the following paragraphs, I explain why I make such a statement, I show you how to define parameters for performance, I list the performance figures from my testing, and I provide some recommendations for parameter passing.

    Before I go any further, let me get a couple of things out of the way. First, keep in mind that I am talking about you and the

    …

    Read more
  • Conditional Counting with Open Query File

    June 20, 2007 Hey, Ted

    Is there a way to make Open Query File (OPNQRYF) count records that meet certain criteria? I want to write a summary query, using OPNQRYF, that counts all records, and that also counts only the records that have a positive value in one of the numeric fields. Can OPNQRYF do anything like that?

    –Dave

    When I got Dave’s question, I told him that I thought it could be done, but I’d have to play with it to figure it out. A little while later, Dave had his query and I had another technique to share with you.

    It would be

    …

    Read more
  • What Is SMIOSTCPGT and Why Is It Eating My System?

    June 20, 2007 Hey, Joe

    We’ve been doing some performance analysis on our i5/OS V5R3 system and we’ve discovered that the SMIOSTCPGT process is producing an incredible number of synchronous disk operations, which could be slowing down system performance. What is SMIOSTCPGT and what can we do to stop it from bogging things down?

    –Joe

    Before I start this tip, I’ll come clean and admit that this question came from my own recent experience and it’s a problem I’m trying to find a solution for. I’m presenting the problem here as documentation for other administrators experiencing the same issue and to gather more information on

    …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25
  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle