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 Dec 23, 2018

STRDBG can not show values of variables based on pointer given as parameter

It's not possible to show the value of variables which based on a pointer given as parameter in STRDGB.

If you try to display "pTest" with F11 of the following example you get :

EVAL pTest
PTEST.V1 = '**********'
PTEST.V2 = '**********'

Example :
dcl-ds test;
v1 char(10) inz('v1');
v2 char(10) inz('v2');
end-ds;

dcl-proc TstPtr;

TstProc(%addr(test));

end-proc;

dcl-proc TstProc;
dcl-pi *n;
ptr pointer const;
end-pi;

dcl-ds pTest likeds(test) based(ptr);

dsply pTest.v1;
dsply pTest.v2;

end-proc;


Use Case:

F11 in STRDBG should work the same way like you have a local pointer variable


Idea priority Medium
  • Guest
    Reply
    |
    Apr 17, 2020

    This request is still a candidate to be an enhancement for the RPG compiler.

  • Guest
    Reply
    |
    Jun 7, 2019

    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
    |
    Jan 7, 2019

    You can do this by EVAL ptr->pTest

    The problem is that the debugger doesn't look at the based variable so you should provide the hint by itself.

  • Guest
    Reply
    |
    Jan 7, 2019

    @Jason

    As far as I know the RDI debugger can not be used if a job has gone into MSGW.
    Then you have to start a service job ( STRSRVJOB ) and then STRDBG.

    I have tried the RDI debugger and found it clumsy - especially when it hung up
    and I had to cancel the session. STRDBG is simple to start and use.

  • Guest
    Reply
    |
    Dec 31, 2018

    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 - Power Systems
    Product - IBM i
    Component - Application Development
    Operating system - IBM i
    Source - None

  • Guest
    Reply
    |
    Dec 25, 2018

    The same issue occurs with the RDi debugger, which uses the same underlying functionality as STRDBG.

  • Guest
    Reply
    |
    Dec 24, 2018

    STRDBG is out dated. I would recommend that the customer switch to RDi as soon as possible. I highly doubt that IBM is going to spend any effort on a request for a tool that is now out of date by and replaced by RDi.

    Jason