As long as the field you want to XFoot is numeric and declared with DIM, yes its possible
I tested with DIM at the DS level and program doesn’t compile: RNF0555 and RNF7591
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Justin Taylor
Sent: Thursday, September 10, 2020 10:26
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: %xfoot() DS array
Caution: This email originates from outside of Fresche | Attention: Ce message provient de l'extérieur de Fresche
Is it still impossible to use %xfoot() on a sub-field of a data structure
(DS) array?
I'm using embedded SQL to read into a DS array and I'd like to use %xfoot() on a sub-field.
IBMi 7.3, current on PTFs
TIA
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
Confidentiality Warning/Avertissement de confidentialité:
This message is intended only for the named recipients. This message may contain information that is privileged or confidential. If you are not the named recipient, its employee or its agent, please notify us immediately and permanently destroy this message and any copies you may have. Ce message est destiné uniquement aux destinataires dûment nommés. Il peut contenir de l'information privilégiée ou confidentielle. Si vous n'êtes pas le destinataire dûment nommé, son employé ou son mandataire, veuillez nous aviser sans tarder et supprimer ce message ainsi que toute copie qui peut en avoir été faite.
As an Amazon Associate we earn from qualifying purchases.