Re: Options for YAJLINTO to handle a null array

Martijn van Breden <m.vanbreden-FA3Mb2GlndWL1xShJLHXDbmx5lbCioqB8/[email protected]> Tue, 24 Feb 2026 09:37:41 +0000
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <AM7P194MB08041898584B74EA5FE6B79FC674A@AM7P194MB0804.EURP194.PROD.OUTLOOK.COM>
Hello Greg

We ran into this a while ago and experimented with null indicators and so on but that won't work.
You can use the countprefix keyword instead to handle this. It will be zero with an empty or null array.


Kind regards,

Martijn van Breden

lead software architect



-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.