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.
See this idea on ideas.ibm.com
Currently there are 3 distinct ways to check if a field is or is not null:
1 - RPG uses %nullind()
2 - SQLRPGLE use a positional numeric array (-1 or <> -1)
3 - RPG triggers use a positional indicator (like) array ('0' - '1')
Having a common access to the null attribute can lead to a simplification.
For case 1 e 3 consider also setting the null attribute using a common interface.
Consider this SQLRPGLE example:
DataDs Ds
Field1
Field2
Field3
Field4
NullInd s 4b 0 dim(4)
exec sql FETCH CURS2 INTO :DATADS:NULLIND;
....
if nullind(3) <> -1;
....
endif;
simply adding or removing a field before Field3 in the DataDs breaks the null test.
Idea priority | Medium |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
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.
IBM has received the requirement and is evaluating it. IBM will provide a response after evaluation is complete.
Just to let you know that there is a new NULLIND keyword in RPG 7.3 that makes it easier to use the null byte maps in trigger programs. See the trigger-program example about halfway down this page: http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzasd/dkwnullind.htm
I would like the option also if a condition statement checks the value of a database field that is null that the result of the condition is false like SQL returns. Not that I want to know if its NULL but the possible value within the field should not be checked if the status is NULL.