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.
Yes, we've moved to using the RTVLASTSPLF API and then retrieve that SPOOLED File's attributes. Thanks.
The print application you describe strikes me as being very accommodating to your customers' print preferences. Many IBM i applications override the printer file to force their formatting choices on the users, which prevents them from making alterations to the output.
Applications already have the means to determine the spooled file attributes ONCE the printer file has been opened. The Retrieve Identity of Last Spooled File Created (QSPRILSP) API will return the identity of the spooled file corresponding to the last printer file opened even before data is put to it. (https://www.ibm.com/docs/api/v1/content/ssw_ibm_i_74/apis/QSPRILSP.htm) This information can be then used to call the Retrieve Spooled File Attributes (QUSRSPLA) API to determine the LPI and CPI values. (https://www.ibm.com/docs/api/v1/content/ssw_ibm_i_74/apis/QUSRSPLA.htm)
Please let us know if this approach cannot be used, for some reason, by your RPG IV application.
Due to processing by IBM, this request was reassigned to have the following updated attributes:
Brand - Servers and Systems Software
Product family - Power Systems
Product - IBM i
Component - Print
Operating system - IBM i
Source - None
For recording keeping, the previous attributes were:
Brand - Servers and Systems Software
Product family - Power Systems
Product - IBM i
Component - Db2 for i
Operating system - IBM i
Source - None
Due to processing by IBM, this request was reassigned to have the following updated attributes:
Brand - Servers and Systems Software
Product family - Power Systems
Product - IBM i
Component - Db2 for i
Operating system - IBM i
Source - None
For recording keeping, the previous attributes were:
Brand - Servers and Systems Software
Product family - Power Systems
Product - IBM i
Component - Application Development
Operating system - IBM i
Source - None
The CAAC has reviewed this requirement and recommends that IBM view this as a high priority requirement that is important to be addressed. This information is not available by any means other than an impractical print option that is unreliable. An API is needed, or an SQL interface, such as adding to SQL services for job info.
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 RFEs on the broader IBM i community, and has therefore reviewed your RFE.
For more information about CAAC, see www.common.org/caac
For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/
Nancy Uthke-Schmucki - CAAC Program Manager
Overrides are an attribute of the job applied when a file is opened, as Bob remarks. There is an API, QDMRTVFO, but it only says what kind of override there is on the file specified. Not very useful. It IS possible to get the override settings with DSPJOB OPTION(*FILOVR) OUTPUT(*PRINT). That, of course, has the usual caveats about using SPLFs as data files.
The program that actually displays overrides is not officially raised to level of an API we can safely call.
An SQL service would be good, JOB_INFO and ACTIVE_JOB_INFO don't have this detail, nor does the OPEN_FILES table function.
I've had a similar need when trying to work with any file in a generic file handler, where the name in the program might not be the actual object in use.