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 Not under consideration
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on Apr 1, 2016

New Compiler Predefined Values for INCLUDE

It would be nice to have the library, file and member name of the source being compiled as predefined values for the INCLUDE or COPY compiler directives, like: *SRCLIB, *SRCFILE and *SRCMBR

The format and rules for the directive would stay the same and would accept the new predefined values to self include the source being compiled.


Use Case:

Source: ABC100 in file *LIBL/QSRC

/IF NOT DEFINED(copy_pr)

/DEFINE copy_pr
/INCLUDE QSRC,ABC100 <-this is where the new predefined values will be used: /INCLUDE *SRCFILE,*SRCMBR
/UNDEFINE copy_pr
DCL-PI proc;
/ELSE
DCL-PR proc;
/ENDIF
DCL-PARM parm1 CHAR(1) CONST;
DCL-PARM parm2 CHAR(1);

/IF DEFINED(copy_pr)
END-PR;
/ELSE
END-PI;

/ENDIF


Idea priority High
  • Guest
    Reply
    |
    Apr 24, 2020

    IBM does not intend to provide a solution to this request at this time, so it is being closed.

    The ILE RPG team has quite a long list of higher priority requirements, so this request is not likely to be implemented anytime soon.

  • Guest
    Reply
    |
    Jul 25, 2017

    The CAAC has reviewed this requirement and recommends that IBM view this as a “nice to have” low priority feature.

    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

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Dawn May - CAAC Program Manager

  • Guest
    Reply
    |
    Jul 24, 2017

    Recommended for CAAC acceptance by Tom Duncan, CAAC Member

  • Guest
    Reply
    |
    Mar 30, 2017

    .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.

    If this is implemented, the most likely special value for /COPY and /INCLUDE will be *SELF.

  • Guest
    Reply
    |
    Aug 4, 2016

    Since the underlying requirement is to include "self", then the most straightforward implemention is, as Mark Waterbury suggests, simply *SRC, meaning "the current source member or IFS file being processed".

  • Guest
    Reply
    |
    Jul 18, 2016

    Not only source physical files (library, file, member) but also please consider an equivalent capability when the IFS is used to contain the source code.

    So, perhaps what is needed is a more generic "value" that contains the fully qualified "path name" of the source file, whether it is in QSYS.LIB or the IFS.

  • Guest
    Reply
    |
    May 9, 2016

    IBM has received the requirement and is evaluating it. IBM will provide a response after evaluation is complete.

  • Guest
    Reply
    |
    May 5, 2016

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Languages - RPG
    Operating system - IBM i
    Source - None

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Programming Languages
    Product - RPG Compiler
    Component - Product functionality
    Operating system - IBM i
    Source - None

  • Guest
    Reply
    |
    Apr 2, 2016

    Creating a new RFE based on Community RFE #86281 in product RPG Compiler.