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
Create a Get Short System Object Name from Long Name API
The QDBRTVSN API has an interesting syntax and is limited to *FILE objects and retrofitted to also work with Libraries. What is now needed is a new API that works with all Object Types and that converts both the Library and Object names from long to short in one step. Effectively we need two new APIs: Convert Long to Short Name, and Convert Short to Long Name:
// Convert Long Name to Short System Name QLICVTLNS( SHORTNAME_T*, LONGNAME_T*, OBJTYPE);
// Convert Short System name to Long Name: QLICVTSNL( LONGNAME_T*, SHORTNAME_T*, OBJTYPE);
Note: The Object Type parameter should be optional and default to "first" or "only" or "any" whatever is standard for such things. meaning it would locate the first object whose long (or short) name matches, regardless of object type.
The returned SQL_OBJECT_TYPE (for Short to Long) operations helps complete the information about the long name. The returned OBJECT_TYPE for the Long to Short API informs the user what object type is returned. Similar to other APIs that return the library name where and object was located and *LIBL is used (e.g., QUSROBJD) The Returned Library_Name from both APIs should be returned even if the input library name is blank or *LIBL.
As the number of System Objects that also have Long SQL Names increases (*FILES, *DTAARA, *SRVPGM *PGM today but there may be others already being used) the need to convert those names from Long Name to Short is becoming pervasive and needs to be built into the system.
Do not place IBM confidential, company confidential, or personal information into any field.