• 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
    Midrange Dynamics North America

    Accelerate Change & Integration on IBM i

    Good change management unites IBM i and open systems development for productive collaboration. Developers work with their preferred tools and IDEs. Ultimate version control and traceability mean fast bug fixes and less stress. Rollback to a stable version in seconds.

    Change management gives managers, operations teams, and auditors the visibility they need, and developers can focus on what they like best: building great applications.

    Learn More

    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

    • To Comfort The Afflicted And Afflict The Comfortable
    • How FalconStor Is Reinventing Itself, And Why IBM Noticed
    • Guru: When Procedure Driven RPG Really Works
    • Vendors Fill In The Gaps With IBM’s New MFA Solution
    • IBM i PTF Guide, Volume 27, Number 27
    • With Power11, Power Systems “Go To Eleven”
    • With Subscription Price, IBM i P20 And P30 Tiers Get Bigger Bundles
    • Izzi Buys CNX, Eyes Valence Port To System Z
    • IBM i Shops “Attacking” Security Concerns, Study Shows
    • IBM i PTF Guide, Volume 27, Number 26

    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