|
Charles I worked with it in C - nested structures are MUCH easier there than in RPG - unless someone can enlighten me. ;-) Vern -------------- Original message -------------- > Vern, > > Oh yeah, lots of fun with this one. > > Not only is the API itself oh-so-easy to use, but you've got all those > variable > length structures to play with. > > Normally, when I deal with an API for the first time, I write an include file > that has not only the required prototype but DS templates to make the next > person's life easier. With this bad boy, trying to figure out how to code the > templates to make them easily reusable is tricky. > > Probably should be posting this to the RPG list but.... > > I'm looking at defining non-based DS in order to use the INZ keyword. May > make > use of some constants that need to be defined before copying/including the > file. > It'd be nice if RPG supported INZ on a based DS. Granted, it doesn't seem to > make much sense for a based DS. But, it'd be nice to use LIKEDS(myBasedDS) > inz(*LIKEDS). Or being able to RESET on an allocated based DS and having the > values of certain subfields initialized for you. > > Actually, I think I will bring this up on the RPG list, maybe we can get it > added to the wish list. > > Charles Wilt > iSeries Systems Administrator / Developer > Mitsubishi Electric Automotive America > ph: 513-573-4343 > fax: 513-398-1121 > > > > -----Original Message----- > > From: midrange-l-bounces@xxxxxxxxxxxx > > [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Vernon Hamberg > > Sent: Tuesday, February 22, 2005 10:54 PM > > To: Midrange Systems Technical Discussion > > Subject: RE: SAVLIB vs SAVOBJ > > > > > > Charles > > > > Isn't that API fun? > >
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.