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 Delivered
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on May 6, 2016

Allow direct coding of nested data structures in free-form declarations

The new free-form data declarations in RPG IV lend themselves to direct coding of true nested data structures. Allowing these to be coded directly would avoid having to code a lot of unnecessary templates that exist for no other reason than to nest data structures.

This would be particularly useful when defining the type of nested DS required for use by XML-INTO. The current method makes it very difficult to see the correlation between the DS definitions and the actual XML itself. By allowing the structures to be nested we could directly represent the structure being coded.


Use Case:

Instead of having to code this:

dcl-ds Invoices Qualified;
InvoiceCount int(5);
Invoice Dim(99) LikeDS(Invoice_T);
end-ds;

dcl-ds Invoice_T Template;
CustomerId Like(CustNo);
InvoiceNo Like(InvNo);
LineCount Int(5);
InvLine Dim(99) LikeDS(InvLine_T);
end-ds;

dcl-ds InvLine_T Template;
// invoice line details
end-ds;

We should be able to code:

dcl-ds Invoices Qualified;
InvoiceCount int(5);

dcl-ds Invoice Dim(99);
CustomerId Like(CustNo);
InvoiceNo Like(InvNo);
LineCount Int(5);

dcl-ds InvLine Dim(99);
// invoice line details
end-ds;

end-ds;

end-ds;


Idea priority Medium
  • Guest
    Reply
    |
    Mar 30, 2017

    For 7.3, either get DB2 PTF group SF99702 Level 4, or get PTF SI63822 for target release *CURRENT and PTF SI63964 for target release *PRV.

  • Guest
    Reply
    |
    Mar 30, 2017

    PTFs are available for 7.2 and 7.3 to provide support for nested data structures.

    The enhancement is available for 7.2 target release *CURRENT, and for 7.3 target releases *CURRENT and *PRV.

    For 7.2, either get DB2 PTF group SF99702 Level 16, or get PTF SI63821.

    For 7.3, either get DB2 PTF group SF99702 Level 16, or get PTF SI63822 for target release *CURRENT and PTF SI63964 for target release *PRV.

    For more information, see the following page in the RPG Cafe wiki: http://ibm.biz/spring_2017_rpg_enhancements

  • Guest
    Reply
    |
    Feb 14, 2017

    IBM intends to provide a solution for a future release, and also to provide PTFs for 7.2 and 7.3 timed with a future Technology Refresh. However, IBM's plans may change and no commitment is made that a solution will be provided.

  • Guest
    Reply
    |
    Sep 19, 2016

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

  • Guest
    Reply
    |
    May 10, 2016

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

  • Guest
    Reply
    |
    May 7, 2016

    Creating a new RFE based on Community RFE #87967 in product IBM i.