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 updateson them if they matter to you. If you can't find what you are looking for,
Post your ideas
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Specific links you will want to bookmark for future use
Remove or Relaxe the error when %SUBST length exceeds length of data
The runtime for RPG currently blows up if %SUBST(var : START : LENGTH ) length value exceeds the length of the VAR or if it is 0. Provide an option to ignore this issue for runtime purposes. OPTION(*NOLENCHK) (No Length Check) which would cause runtime to ignore this issue and not end with RNX0115.
A %SUBST( VAR : 1) runs fine for a VAR of any length. However %SUBST(VAR : 3 : 15) will fail if VAR is less than 17 bytes in length. When Length exceeds the number of bytes available in VAR, then it should be treated as if it were unspecified and the length calculated to the end of the variable, except when the 3rd parameter is 0, then it should be treated as no bytes and return nothing or change nothing.
Do not place IBM confidential, company confidential, or personal information into any field.