|
You're right. It would be easier on us if the customer would upgrade the OS version. Unfortuately, they don't want to upgrade so we deal with the situation the best we can. By the way, putting the V3R7 manuals back on the web would be very helpful. ----- Original Message ----- From: <boldt@ca.ibm.com> To: <MIDRANGE-L@midrange.com> Sent: Friday, July 14, 2000 12:10 PM Subject: Re: Variable Length Fields In V3R7 ILE RPG > > > Gary wrote: > >For those intetested we found when compiling ILE RPG to V3R7M0, > >CVTOPT(*VARCHAR) isn't H-Spec supported. It has to be supplied on the > >create command's "Type conversion option" parameter. > > > >Also, you have to immitate a variable length field by defining the first > two > >bytes of a string as an integer with length 5 an zero decimal positions. > >Here's an example. VarLenFld is a variable length defined field in a > >physical file. > >... > > Wouldn't it be easier to upgrade to a more recent release? > Easier support for varying length fields was added in V4R2. > In V3R7, you'd be writing code that will be quickly > obsolete anyways! Also, putting too much of a dependency > on CVTOPT(*VARCHAR) will only make using real character > varying fields more difficult. > > Cheers! Hans > > Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com > > > +--- > | 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 > +--- +--- | 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-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.