• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • V5R1 Storage Model Mismatch

    November 20, 2002 Timothy Prickett Morgan

    Hey, Ted:

    I made a small change to a CL module, compiled it, and tried to use the Update Program (UPDPGM) command to replace the changed module in the program. However, the update of the program failed because of the storage model of the recompiled module.

    Apparently, the default values for the storage model (and teraspace) have been changed since we migrated from V4R5 to V5R1. The error message (CPD5CD1) says that the module that I am trying to replace was created with storage model *SNGLVL, while the replacement module was created with storage model *INHERIT. I cannot set this value while using the Create CL Module (CRTCLMOD) command, nor change it using the Change Module (CHGMOD) command. GO CMDSTGMDL gave no results either. Other than recreating the program, do you know of any solution for this?

    — Matanja

    The Create CL Module (CRTCLMOD), Create RPG Module (CRTRPGMOD), and CRTCBLMOD (Create COBOL Module) commands do not allow you to specify the storage model. Only Create C Module (CRTCMOD) command gives you a TERASPACE parameter. However, this does not mean that you will have to recreate these programs as you update the modules.

    Bruce Vining, of  IBM, gave me a good solution to this problem. When you create these modules under V5R1, compile with a target release of V4R5:

    CRTCLMOD   TGTRLS(V4R5M0)
    

    Then your program updates will work fine.

    — Ted

    Sponsored By
    ADVANCED SYSTEMS CONCEPTS

    Business Analytics
    – Practical –
    – Cost Effective –
    – Easy to Deploy –

    SEQUEL FYI

    User Quote:
    “I love SEQUEL FYI because it lets me look at the data any way I need to see it, instantly. This is the easiest tool to manage complex product relationships that I have ever seen.”

    SEQUEL FYI offers outstanding OLAP business intelligence functionality for a fraction of the cost of comparable solutions.

    Read More > View Streaming Video

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 89 -- November 20, 2002

    Sponsored by
    Rocket Software

    Unlock the full potential of your data with Rocket Software. Our scalable solutions deliver AI-driven insights, seamless integration, and advanced compliance tools to transform your business. Discover how you can simplify data management, boost efficiency, and drive informed decisions.

    Learn more today.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Data Structure Parameters in RPG Prototypes Reader Feedback and Insights: RPG II

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 89

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: Thanks for Qshell Tips
    • V5R1 Storage Model Mismatch
    • Get Rid of Old IFS Files

    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