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).
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:
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 an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
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.
IBM believes that the request described has been solved and is available with the enhancement that provides the new DATA-GEN operation code.
This enhancement is available with the following PTFs:
- 7.3 TGTRLS(*CURRENT) compiler - SI71534
- 7.4 TGTRLS(*CURRENT) compiler - SI71536
- 7.4 TGTRLS(*PRV) compiler - SI71538
- 7.3 Runtime - SI71535
- 7.4 Runtime - SI71537
The following additional PTFs update the H, QCBLLESRC, and QRPGLESRC files in QOAR with include file QRNDTAGEN, which defines the parameter passed to a generator program or procedure for DATA-GEN.
They also provide some sample generators in the QOAR/SAMPLE2 file. The XMLGEN source member contains a generator for XML which you can use, or which you can copy to another source file and modifiy as needed.
- 7.3 Files in QOAR - SI71517
- 7.4 Files in QOAR - SI71518
See the "What's new since 7.3" or "What's new since 7.4" sections of the ILE RPG Reference. (The inforomation is the same in both manuals.)
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzasd/rpgrelv7r3post.htm
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzasd/rpgrelv7r4post.htm
If you want to create your own generator for DATA-GEN, also see the "What's new since 7.3" section of the Open Access: RPG Reference.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzasm/roarelv7r3post.htm
IBM agrees with the request and a solution appears to be desirable and feasible. IBM intends to provide a solution. However, IBM's plans may change and no commitment is made that a solution will be provided.
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 RPG implements this, it would be similar to DATA-INTO,where the the details of the XML (or other output format) would be left to a data-generator. The generator would get the subfield names (mixed-case similar to the *DCLCASE mechanism for PCML), plus human-readable values, and be free to format the data in any way.
IBM has received the requirement and is evaluating it. IBM will provide a response after evaluation is complete.
The CAAC reviewed this RFE and recommends that IBM not spend resources on this RFE. Rather, there is existing support using SQL XML functionality.
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
If RPG implements this, it would likely involve something similar to the Open Access names-values support where the details of the XML (or other output format) would be left to a handler. The handler would get the subfield names (mixed-case similar to the *DCLCASE mechanism for PCML) and human-readable values and be free to format the data however it wanted to.
Personally I think an op-code rather than a BIF is a better idea. But the problem that remains is the same as for the XML generation support in COBOL. There is no obvious way to have it output attributes, just elements and I'm not convinced it is worth the effort if that is the case.
Creating a new RFE based on Community RFE #94771 in product IBM i.