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.
Hi Paul. thanks for continuing the discussion!
We will continue to consider whether it is necessary to have a new keyword and/or a new command parameter.
It is possible that for a new release, we could change to simply allow duplicate keywords, and document this change in the Memo to Users. But we could not make such a change with a PTF. If we did decide to make this change in a TR-timed PTF, we might just add an environment variable to allow it for the PTF versions.
@Barbara I'm not following on your comment "we might also consider a new command parameter for duplicate-ctl-opt keywords that could have the default changed with CHGCMDFT" ? Personally I would by default make the source the master (the source is the best documentation) instead of a value specified by the individual CRT command (where the correct value is often forgotten as there's no place to "document" it). One of the seldom exceptions on this is the target release and/or debug level.
I just hope IBM is not cluttering things with a lot of extra/different commands to keep things "compatible".
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 this feature is implemented, it would only be to have an option to allow H spec keywords to be specified more than once, using the latest value. For keywords like the OPTION keyword, the last setting for any one option would be in effect. For example, if the source had OPTION(*XREF:*NODEBUGIO) OPTION(*NOXREF), then the second OPTION keyword would only affect the XREF option. It would not affect the DEBUGIO option.
If implemented, this feature would not affect how the RPGLEHSPEC data area is used. The compiler would continue to only retrieve the RPGLEHSPEC data area if there is no H spec or CTL-OPT in the source.
@Paul, I wish that it had always been allowed to have duplicate H-spec keywords. But some shops may not want programmers to override the keywords in some standard copy file. So I don't think we can just relax the rule and allow duplicates without a new keyword. However, if we added a new keyword such as ALWDUPKW, we might also consider a new command parameter for duplicate-ctl-opt keywords that could have the default changed with CHGCMDDFT.
@Peter... why would you need a new /SET directive, what's wrong with Ctl-Opt ? Just allow it to be repeated multiple times if you need the flexibility to have options spread over multiple statements.
@Barbara... why a new keyword ALWDUPKW, just take the last option specified (sounds the only logical choice for me) and generate a warning in the compiler listing if a duplicate option is present.
Well, my idea was that in case the RPGLEHSPEC data area was copied then I didn't need the copy file.
Right now I have to remember to modify both objects - the data area and the copy file - to keep them identical.
On the other hand - If I didn't mention the data area then I think you wouldn't implement it.
Now you have the possibility to decline it :-)
Peder, I don't agree with the suggestion to always copy the RPGLEHSPEC data area if ALWDUPKW is encountered. I would not want to encourage any new or continued use of the data area.
If source were being changed to add the ALWDUPKW keyword, it could also be changed to add a copy file with the keywords in the RPGLEHSPEC.