|
The code is a how-to sample more than a ready-to-go working program. Looking at the code, the CP_PROTOS copy book is from a library here (that is not distributed), so just delete the reference (don't rename it to rpgnextlib/CP_PROTOS). -- Joel Cochran On 11/10/05, Joe Giusto <midrange@xxxxxxxxxxxx> wrote: > > I tried to compile the RPG example to create XML and I am getting a error > because getPolygonPerimeter is in two of the copy book members. > CP_LONGPRS and CP_PROTOS > > ----- Original Message ----- > From: "Joel Cochran" <joelcochran@xxxxxxxxx> > To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx> > Sent: Thursday, November 10, 2005 11:16 AM > Subject: Re: [WEB400] XML > > > <SNIP> > If you want/need to do it in RPG, here is a sample program on my website > that demonstrates writing XML to the IFS: > http://www.rpgnext.com/codesamples/BPRSLTXML.RPG > > It even includes some indenting for readability. It just reads from an > array, but you could obviously alter it to read an SQL cursor instead. You > should be able to use most of the subprocedures as they are. The key one > to > change would be "WriteData()". > > HTH, > Joel > > -- > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > >
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.