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.
IBM does not intend to provide a solution to this request at this time, so it is being closed.
This is still on our list for votes and consideration; if it does not have many votes and we won't get to it in the next release or two,
IBM understands request, RFE is reasonable to implement, but it is not yet committed to deliver.
The suggestion of the exit program might serve as a short-term workaround, but I don't think it works well as a final solution.
- The command, in its basic form is not consistent with the method used by the other languages (COBOL and RPG) in their search for copy books / include files. Consistency is really a hallmark of IBM i.
- It hides implementation details from the user. The command, its help file, and the actual processing of the command are not documented and not obvious.
- The program would have to check for some criteria so as not to change every command, and checking for the default INCFILE(*SRCFILE) would be the logical choice. However, doing so would eliminate the actual function of *SRCFILE should someone actually want to use it (see next).
- In my mind, the complete implementation would be to make the following the default action: first, check for the include member in *SRCFILE as is done now; then, if not found, perform a search through QCLSRC files in the *LIBL, as COBOL and RPG do.
This would not require a new default value. It would be a modification of the process carried out by the CPP using the existing *SRCFILE option, i.e. instead of ending in error if the include member is not found, proceed to the *LIBL/QCLSRC search.
That process would make development very simple with all the new or modified pieces, including the include files, in a single source file. Those include files would be checked first before heading out to get the production versions in the libl.
(Then, to be really, really complete, have COBOL and RPG do the first check also before searching the libl... but that is another story.)
Thanks for your suggestions on the CRTCLPGM, CRTCLMOD, and CRTBNDCL commands.
I understands your requirement. In fact, IBM has supplied one change command exit point - QIBM_QCA_CHG_COMMAND, to allow your exit program to get control and possibly change the command that is used. With the Exit Program registered on QIBM_QCA_CHG_COMMAND, you can change the parameters of CRTCLPGM command to whatever you want. Such as specify INCFILE(*LIBL/QCLSRC) as the parameter. And then, each time you call CRTCLPGM, parameter INCFILE(*LIBL/QCLSRC) will be specified to this command and take effect.
What do you think about this idea?
Here is the detail info about QIBM_QCA_CHG_COMMAND:
http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/apis/xcachg.htm?lang=en
http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rbam6/cmdanalyz.htm?lang=en
Any further questions are welcome.
Creating a new RFE based on Community RFE #88231 in product IBM i.
I like the suggestion of a single value of *QCLSRC. This makes the request a relatively easy one to implement, doesn't require changing the current command default, but allows INCLUDE to function like COPY in RPG or COBOL.