• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Redundant Join Criteria: Good or Bad Idea?

    January 21, 2009 Hey, Ted

    Suppose I have four tables that I commonly join. Is there any benefit to adding redundant criteria to the join? Or to the “where” clause? That is, will redundant criteria or selection expressions improve performance?

    –Philip

    Philip’s four tables are keyed as follows:

    SITE     ITEM      PROCESS   STRUCTURE
    ------   ------    --------  ---------
    SiteID   SiteID    SiteID    SiteID
             ItemID    ItemID    ItemID
             Revision  Revision  Revision
                                 StructID
    

    Here’s a join without redundant join criteria:

    select whatever
    from site as s
    join item as i 
      on s.siteid = i.siteid
    join process as p
      on i.siteid = p.siteid
     and i.itemid = p.itemid
     and i.rev    = p.rev
    join 
    …

    Read more
  • Do Your File Specifications Lie?

    January 21, 2009 Ted Holt

    An old joke says, “How do you know a salesman (or politician) is lying to you?” The answer: “His lips are moving.” All joking aside, your RPG IV F specs can lie to you, and it’s not obvious when they do. This is not a serious problem, but I’ve run across it on occasion and want to be sure others are aware of it.

    Let’s say the following program is running:

    H dftactgrp(*no) actgrp('QILE')
    Fcustcdt   uf   e             disk
    Ferd01p    o    e             printer
     /free
         *inlr = *on;
         dow '1';
            read cusrec;
            if %eof();  
                leave;
            endif;
            write erd01p1;
         enddo;
         return;
    

    This is

    …

    Read more
  • Trouble-Shooting WebSM to HMC Connectivity Problems

    January 21, 2009 Hey, Joe

    I’m having problems connecting to different Hardware Management Consoles (HMCs) via a single Web Based System Manager (WebSM). I can connect to our production HMC, but I am having problems accessing our backup HMC in New York. I enter an IP address for the backup HMC, but it’s not accepting my user ID and password. Is it possible to access two HMCs with the same WebSM?

    –Ray

    Hi Ray,

    Yes, it is possible to access two different HMCs through the same WebSM configuration. I do it in my shop where I use one WebSM to access three different HMCs on

    …

    Read more

Content archive

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

Recent Posts

  • 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
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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