• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Reader Feedback and Insights: Security Flaws

    September 11, 2002 Timothy Prickett Morgan

    Hey, Ted:

    The Validating a User Password sample program in the August 21 issue of Midrange Guru, OS/400 Edition, has some basic security flaws. As you said, the Check Password (CHKPWD) command can produce any of three messages (CPF2362, CPF2363, and CPF2364). The problem is that the program only monitors for one of those messages. The program works correctly for the CPF2362 message but it fails for the other two. When it gets either of these two error messages (because the user has intentionally given a bad password several times in a row) the program will function check

    …

    Read more
  • Excuse Me…Can You Hold this Secondary Partition While I Upgrade the Primary?

    September 11, 2002 Timothy Prickett Morgan

    Hey, Joe:

    I have an iSeries box with two logical partitions (LPARs) running OS/400 V4R5. Our shop needs to upgrade the primary partition to OS/400 V5R1, and we want to put the secondary partition on hold while the upgrade is occurring (we don’t want the secondary to IPL every time we have to IPL the primary). How do I shut down the secondary partition and keep it down while I’m doing the upgrade?

    — Ralph

    This is a common situation with OS/400 partitions, and many people have configured OS/400 partitions exactly the way you describe in your setup. When you

    …

    Read more
  • Adding Subprocedures to a Service Program, Revisited

    September 11, 2002 Timothy Prickett Morgan

    Hey, Ted:

    Regarding your article, “Adding Subprocedures to a Service Program,” there’s a question I’ve always wondered about.

    Why is the *CURRENT/*PRV way of handling new exports, such as this example:

    STRPGMEXP PGMLVL(*CURRENT)
    EXPORT SYMBOL('ONEMORETHAN')
    EXPORT SYMBOL('TWICE')
    EXPORT SYMBOL('ONETHIRDOF')
    ENDPGMEXP
    STRPGMEXP PGMLVL(*PRV)
    EXPORT SYMBOL('ONEMORETHAN')
    EXPORT SYMBOL('TWICE')
    ENDPGMEXP
    STRPGMEXP PGMLVL(*PRV)
    EXPORT SYMBOL('ONEMORETHAN')
    ENDPGMEXP
    

    so popular compared to the hard-coded signature method, where you only keep one export list, as shown in this example:

    STRPGMEXP PGMLVL(*CURRENT) SIGNATURE("MATH")
    EXPORT SYMBOL('ONEMORETHAN')
    EXPORT SYMBOL('TWICE')
    EXPORT SYMBOL('ONETHIRDOF')
    ENDPGMEXP
    

    You have to keep the exports in the same order and add news ones at the

    …

    Read more

Content archive

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

Recent Posts

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

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