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.
The CAAC has reviewed this IBM Idea. We agree with IBM's assessment.
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 IBM Ideas on the broader IBM i community and has therefore reviewed your Idea.
For more information about CAAC, see www.common.org/caac
Carmelita Ruvalcaba - CAAC Program Manager
The CEAC has reviewed this requirement and recommends that IBM view this as a HIGH priority requirement that is important to address.
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 crucial 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.
To find out how CEAC help to shape the future of IBM i, see CEAC @ ibm.biz/BdYSYj and the article "The Five Hottest IBM i RFEs Of The Quarter" at ibm.biz/BdYSZT
Sabine Jordan + Sara Andres – CEAC Program Manager, IBM
Also for the modernization perspective, legacy calls could be programmatically converted to free more easy:
C CALL 'QCMDEXC'
C PARM 'DLYJOB 3' DLYCMD
C PARM 8 DLYLEN
could programmatically be converted ( without knowledge of the datatypes previously defined) to:
dcl-pr qcmdexc options(*VARARG) extpgm('QCMDEXC');
...
dlycmd = 'DLYJOB 3';
dlylen = 8;
qcmdexc( dlycmd : dlylen);
since dlycmd and dlylen is declare elsewhere - perhaps in a include. The *VARARG will just provide pointers to whatever types used.
A good examples could be using the printf from the C-library. It would be declare like this:
dcl-pr printf options(*VARARG) extproc(*CWIDEN:'printf');
format pointer value options(*string);
end-pr;
where the first parameter is a string, and the an optional number of parameters and types.
for type "EXTPGM" however it will always be a list of pointers send to to calle program.
for an implementation in RPG of another example summing a list of integers:
// the main usages:
sum = sum_int ( 1:2:3:4);
dcl-proc sum_int ;
dcl-pi int(10) options(*VARARG);
end-pi;
dcl-s based_int int(10) based(p_my_data);
dcl-s p_based_int pointer;
dcl-s result int(10);
dcl-s i int(10);
for i 1 to %parms;
p_based_int = %vararg(i);
result += based_int;
endfor;
return result;
end-proc;
- IBM Power Systems Development
1. The description in the Idea says "This feature will also make migration of legacy code easier since it will allow to bypass validation for the prototype that in fact is equal to the classical call of a program."
Please show an example of legacy code that could be migrated using this feature.
2. The description in the Idea says "do stuff" in the loop that is handling the parameters.
Please show a more detailed example of how the procedure would actually use the parameter.
- IBM Power Systems Development