• 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
    DRV Technologies, Inc.

    Get More from Your IBM i

    Many users today struggle to get at the data they need on the IBM i. When users get reports, they look like they were formatted some time last century.

    Some organizations are still printing pre-printed forms and checks on impact printers.

    How often do operators log on to their system to look for messages they hope they don’t find?

    All of these scenarios can affect users’ perception of the IBM platform negatively, but there are simple solutions.

    DRV Technologies Inc. develops innovative solutions that help customers get more from their IBM i systems.

    Solutions include:

    • SpoolFlex spool conversion & distribution
    • FormFlex electronic forms
    • SecureChex MICR laser check printing
    • MessageFlex system monitoring

    FlexTools streamline resources, improve efficiency and enable pro-active system management.

    Better software, better service, DRV Tech.

    Learn how you can get more from your IBM i at www.drvtech.com

    Call 866 378-3366 for a Free Demonstration

    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

    • LANSA Developing Business Intelligence Tool
    • Blazing The Trail For VTL In The Cloud
    • Data De-Dupe Gives VTL Customers More Options
    • Four Hundred Monitor, March 29
    • The Big Spending On IT Security Is Only Going To Get Bigger
    • IBM Tweaks Some Power Systems Prices Down, Others Up
    • Disaster Recovery: From OS/400 V5R3 To IBM i 7.4 In 36 Hours
    • The Disconnect In Modernization Planning And Execution
    • Superior Support: One Of The Reasons You Pay The Power Systems Premium
    • IBM i PTF Guide, Volume 25, Number 13

    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 © 2023 IT Jungle