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 May 5, 2017

Enable RPG compiler to take DSPF and PRTF definition from open format like XML/JSON

RPG is the main programming language used on the IBM i platform. It is well integrated with DB2, it is ILE, open with Open Access and has been modernized. It could be a first citizen language for cloud app but there is an obstacle to leveraging its native asset for display and printing features. The use of a DDS to define display and printer files is a mutilation for this century and incomprehensive for new programmers, DDS is also a proprietary format. Enabling an open format like XML or JSON to define display and printer files will allow not only to optimize the RPG language for new dev but also to reuse legacy app. Any modern Designer tool could then generate such XML or JSON definition for the RPG compiler. Easy Open Acces Handler code could also be leveraged/provided to direct the I/O on any device.


Use Case:

Web app with RPG + DB2


Idea priority High
  • Guest
    Reply
    |
    Dec 16, 2020

    "I would refine the RFE to simply ask for an XML-based device independent presentation (DSPF/PRTF) interface that can be leveraged from within any High-level language (HLL); one that could be used on green screen, printed output, and web browsers. One that is "built in" to the system."

    This.
    Please get the spirit of this RFE.
    We need a DDS2.0 (xml or not) as an generic abstract view technology interface that can rendered then in many forms (display, printer, pixels, with different level of capabilities..).
    This is the lacking part of IBMi.
    This must be INTEGRATED in the system, so it becomes common knowledge (like a DSPF) and a readily available tech in the system.
    i = stands for integrated....

  • Guest
    Reply
    |
    Apr 27, 2020

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

    The ILE RPG has quite a long list of requirements that will benefit more RPG programmers than this requirement, so this request is not likely to be implemented anytime soon.

  • Guest
    Reply
    |
    Jan 29, 2018

    The CEAC has reviewed this requirement and recommends that IBM view this as a medium priority requirement that should be addressed.

    However, while the CEAC recommends that IBM implement this requirement, the CEAC also recommends that perhaps IBM work with a partner to provide this as an open source solution.

    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 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 CEAC, see http://www.comeur.org/i4a/pages/index.cfm?pageid=3285

    Dawn May - CEAC Program Manager

  • Guest
    Reply
    |
    Jan 29, 2018

    I voted for this, but it seems that since it is not asking for any real changes in functionality, this could be implemented as a precompiler to the CRTDSPF or CRTPRTF commands. Maybe this would be a good candidate for an open source project.

  • Guest
    Reply
    |
    Aug 25, 2017

    To expand on Pascal's comment, for an open access file (HANDLER keyword), it would be possible to specify the record formats for the file with some new keyword such as FORMAT('MYFORMAT' : mydatastructure). Any externally-described or program-described data structure could be used for the specified format name. A restriction would probably exist that a program-described data structure be "flat", with only one level of nesting for subfields, although that restriction might only apply if the handler was working in name-values mode.

    The name-values structure passed to the handler would give the *dclcase form of the names (see the PGMINFO H spec keyword), with the names of any length that RPG supports. This would make generic handlers more useful.

  • Guest
    Reply
    |
    Aug 25, 2017

    After a call with Tim Rowe and Barbara Morris it has been expressed that this RFE "as is" would be a significant work and won't be initiated before years as other requests with higher priority are on the to do list.

    The core issue to be resolved in this RFE is to avoid DDS to describe DSPF/PRTF.
    An alternative has then been thought through:

    Using a pgm described file that can be pointed to a DS.
    The DS will then represent directly the buffer definition of the DSPF/PRTF.

    More investigation will take place on this route.

  • Guest
    Reply
    |
    Jun 14, 2017

    The CAAC has reviewed this requirement and recommends that IBM view this as a medium priority requirement that should be addressed. It would be nice to see where this falls among priorities of other requests for RPG.

    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
    |
    Jun 10, 2017

    This RFE is not exclusive to RPG OA, OA can be used hereafter or not.
    In any case, I think a determinant point would be to not restrict this possible XML-based (or JSON) definition to legacy DDS field data type but to open it to any RPG data type and why not to DS too.

  • Guest
    Reply
    |
    Jun 8, 2017

    also, the RPG compiler does not read DDS when compiling, it opens the object (that was created with DDS) which is simply a specialized program bind to the 5250 protocol.

    bravo in advance if IBM comes up with a native XML compiler that you can bind to a RPG program like a DSPF or PRTF

  • Guest
    Reply
    |
    May 30, 2017

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

  • Guest
    Reply
    |
    May 29, 2017

    that could be great but only if IBM or a BP makes a design tool like SDA/RLU for RDi that would generate the XML

  • Guest
    Reply
    |
    May 16, 2017

    The spirit of this RFE is good, but providing an implementation direction in the RFE may hinder the results. RPG O/A has nothing to do specifically with IBM implementing an XML-based and device independent replacement for DSPF/PRTF DDS.
    I would refine the RFE to simply ask for an XML-based device independent presentation (DSPF/PRTF) interface that can be leveraged from within any High-level language (HLL); one that could be used on green screen, printed output, and web browsers. One that is "built in" to the system.

0 MERGED

Enabling the RPG compiler to use an XML document instead of a DDS to get a file definition

Merged
The standard is aimed at opening and extending the DDS format to an open XML format with any metadata (i.e.: DSPF, PRTF, PF, LF) towards modern UI.OAMOS represents a standard to enable switches or complementary plug-ins between solutions, from ISV...
over 8 years ago in IBM i / Languages - RPG 3 Not under consideration