Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on Jun 30, 2022

Relaxation of error RNF3776

Today you can declare parameters for programs that use the ctl-opt main just like any other RPG procedure - making declaration of a program as easy as declaring a procedure .

However the compile will issue a warning RNF3776 "External program on prototype for main procedure is not the same as program being created"

This is only a severity 10 warning - however, compared to other languages - this should not be considered an error, and it would be appreciated if it was not issued in this case.


You can remove the error by coding the "extpgm" name and giving the program name as value, but it disturbs the reading of the code.

The reason for this idea is our DevOps build process requires a clean compile with no warnings.


This simple code will reproduce the error RNF3776:


**free

ctl-opt main(main);

dcl-proc main ;

dcl-pi *n;

myparm char(10);

end-pi;

end-proc;

Idea priority High
  • Admin
    Sabine Jordan
    Reply
    |
    Sep 23, 2022

    The CEAC has reviewed this requirement and recommends that IBM view this as a HIGH priority requirement that is important to address.

    Background: The COMMON Europe Advisory Council (CEAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CEAC has a crucial role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community and has therefore reviewed your RFE.

    To find out how CEAC help to shape the future of IBM i, see CEAC @ ibm.biz/BdYSYj and the article "The Five Hottest IBM i RFEs Of The Quarter" at ibm.biz/BdYSZT

    Sabine Jordan + Sara Anrdres – CEAC Program Manager, IBM

  • Guest
    Reply
    |
    Jul 26, 2022

    The CAAC has reviewed this requirement and recommends that IBM view this as a “nice to have” low priority feature. This is just a Severity 10 message, and is an inconvience more so than an essential change to make to the language.


    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.


    For more information about CAAC, see www.common.org/caac


    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    Jun 30, 2022
    IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it. IBM will use votes and comments from others in the community to help prioritize this request.

    When there is a prototype for the main procedure, the prototype might be used to call the program. In this case, the compiler should issue a sev-10 warning message.

    When there is no prototype for the main procedure, if the main procedure is called within the module, it would make a program call to the program defined by the EXTPGM of the Procedure Interface. If the EXTPGM keyword does not have a parameter, it defaults to the name of the main procedure. In this case, the compiler should issue a sev-10 warning message.

    So RNF3776 should continue to have severity 10.

    But for the case where there is no prototype for the main procedure and the main procedure is not called within the module, the RNF3776 message is not necessary at all.

    If this request is implemented, the change will be to avoid issuing the RNF3776 message for the case where there is no prototype for the main procedure, and the main procedure is not called withih the module.

    - IBM Power Systems Development