• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • NOMAX? No Way!

    April 25, 2012 Hey, Ted

    I just read *NOMAX Does Not Mean Infinite Capacity and I politely beg to differ. I work at some shops with smaller and older systems with smaller disk capacity (70 GB, 140 GB). Some are already using more than 70 percent of available space. If I read the capacities correctly, a physical file can hold over four billion records. I did some calculations and I think I’d fill up a system before reaching capacity.

    For DDS-described files, I usually set some maximum number of records, as 10,000 seems ridiculously low. Now that you have mentioned SQL described tables, which I use unless I’m at a shop that uses DDS, I realize that I’m running with *NOMAX. I had better code carefully.

    –Russ

    Several people responded to the article. The most detailed response came from my colleague Joe Hertvik, for whom I have the highest regard and respect. Here’s what he had to say:

    I was just going through your *NOMAX story and thinking about your recommendation to change file sizes to *NOMAX. Here’s the things that bug me about this:

    1. While IBM does put limits on those file sizes, those limits are very very large. Which means that a rogue job is still going to take up a lot of space before failing. Every once in a while, I see queries go nuts in my shop that I have to cancel.

    If you have a production file that got caught in a looping cycle and the file size is set to *NOMAX, you’re still going to have millions and millions of records that may be corrupted or need to be deleted before the job eventually errors out with a CPF5272 error. This file may have many logical files sitting over it that are also going to grow extremely large and are going to take up more CPU time and disk rebuilding their access paths. When you get around to purging the excess records, you’re then going to have to reorg the file which is going to take a lot of time and the system will then have to rebuild the logical file indexes, which is also going to take a lot of time. The file won’t be available while it’s being reorged. It turns into a big mess very quickly.

    2. There’s also the user effect in files with *NOMAX when a looping job fills up the file with crap records. If allowed to go too long, the bad data could affect user processing, production, etc. If a critical file fills up, errors out, and the staff has to deal with it, at least it somewhat minimizes the effect on production.

    3. A lot of people are running at high disk utilization, especially when they are several years into the upgrade cycle when they need more disk space. In the shops I’ve been in, it’s not uncommon for one or more partitions to be running at 80 to 85 percent or more disk utilization. If a rogue job starts filling up disk space, it doesn’t take much to get that utilization up to 90 percent or more. And that’s when the system can crash.

    I’m not sure that setting all of your file sizes to *NOMAX would be a good idea. I still hold to the old school philosophy of calculating a reasonable file size when the file is created and setting the file to that size and letting all other automatically created files use default sizes. If the file breaches that size, it indicates something is wrong and should be dealt with. Most shops might be asking for trouble if they set their file sizes to *NOMAX, especially when they are dealing with user created files, such as query output.

    –Joe

    Then there’s this question from Ken:

    Your tip “*NOMAX Does Not Mean Infinite Capacity” is great fodder for discussion within my group. We would be thrilled if you could provide some of the reasoning or justification for your stance. I’ve worked in shops from both schools of thought and would like to know what tipped the scales toward *NOMAX for you.

    –Ken

    Two things tipped the scales, Ken. First was the nuisance of having to answer “file full” error messages because somebody (which could have been me) forgot to change the default. Second, was the observation that IBM evidently feels confident enough with *NOMAX to make it the default for SQL tables.

    I used the Change Physical File (CHGPF) command to change the member size of an SQL table to a small number, then ran a program with an INSERT in an infinite loop. The system gave me message CPA5303 (Record not added. Member SOMETABLE is full.) Maybe this is the tip I should have published:

    SQL tables are created with a member size of *NOMAX. Failure to change the size to something more reasonable could allow a runaway program to fill up the disk.

    Thanks to everyone who wrote.

    –Ted

    RELATED STORY

    *NOMAX Does Not Mean Infinite Capacity



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    SEQUEL Software:  FREE webinar: Application Development Control Starts with the Right Tools. April 26
    ASNA:  FREE one-day ASNA Wings® workshops: Dallas, May 10; Malvern, May 24
    COMMON:  Join us at the 2012 Conference & Expo, May 6 - 9 in Anaheim, CA

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    Kronos Takes iSeries Central on the Road, Gets SMART IBM i 7.1 Tech Refresh Sports Live Partition Mobility

    Leave a Reply Cancel reply

Volume 12, Number 11 -- April 25, 2012
THIS ISSUE SPONSORED BY:

Bytware
SEQUEL Software
WorksRight Software

Table of Contents

  • NOMAX? No Way!
  • Specify SQL Table-creation Library at Runtime
  • Getting PC5250 F1-F24 Keys to Work Correctly on HP Laptops

Content archive

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

Recent Posts

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

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