|
From: Schenck, Don <Don.Schenck@pfizer.com> > > From: Ken.Slaugh@cm-inc.com [mailto:Ken.Slaugh@cm-inc.com] > > Our solution here at CMI involves a tagged pair concept for passing > > information to RPG programs. Our data is exchanged with a > > parameter in the RPG programs with the following format: > > ID1=Value1<tab>ID2=Value2<tab>ID3=...<crlf>ID1=Value1<tab>... The problem with 'homegrown' formats is that too often they are ad hoc and may be hard to extend. The above representation fails if any 'Value' part contains 'IDx=' like in 'this value IDx= is bad' You may improve on it (but this still a hack) by looking for '<tab>IDx=' but then the first one should start with a <tab> or the code must make a special case out of the first one. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.