On 2012-04-19, at 1:00 PM, rpg400-l-request@xxxxxxxxxxxx wrote:
I have an RPG program that is having a problem with var length fields.
I get the error 'unexpected null value' How can I fix this?
We really need a bit more info than that. But the most common cause of varying length problems is incorrect initialization due to including it in a DS that has no INZ keyword and no INZ on the field itself.
Since you are getting a null error though we're probably going to need to see some code.
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives