|
On May 26, 2016, at 8:32 AM, Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx> wrote:
Thanks Jon,
I did work that out and hoped it was correct. It looks like it’s a pretty close match to what you have.
If I can figure out the CCSID Issue
I've tried best, job and ucs2 on the ccsid option with no luck.
When I debug I do see the '<' as the first character.
Any suggestions?
Mike
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon
Paris
Sent: Wednesday, May 25, 2016 10:28 PM
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx>
Subject: Re: XML processing from a field
Looking at your XML extract - your DSs should look something like this - Note I have not pencilled in any lengths as I have no clue how big the fields you have should be. I’ve just tried to indicate the “shape”.
dcl-ds GPCodedValueDomain2;
DomainName;
FieldType;
MergePolicy;
SplitPolicy;
Description;
DBO;
CodedValues LikeDS(CodedValues_T);
end-ds;
dcl-ds CodedValues_T Template;
CodedValue LikeDS(CodedValue_T) Dim(nn); end-ds;
dcl-ds CodedValue_T Template;
Name;
Code;
end-ds;
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.