|
> -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Barbara Morris > Sent: Tuesday, February 15, 2005 6:31 PM > To: rpg400-l@xxxxxxxxxxxx > Subject: Re: LIKE vs. LIKEDS > > > "Wilt, Charles" wrote: > > > > Please excuse me but I seem to be experiencing brain fade > at the moment... > > ... > > What's the difference between using LIKE vs. LIKEDS > > LIKE defines the prototype as a character field the same length as the > DS. LIKEDS defines it as a DS. > > > Now, say you are working with an IBM API, for example > Create User Space > > ... > > Does it matter if I use LIKE or LIKEDS here? The API is of > course actually > > expecting a 20 character field. > > It doesn't matter technically; the API will receive the data structure > value either way. I'd use LIKEDS just for better documentation. This is what I was thinking. But I'm so used to using LIKE, when I started to think of using LIKEDS instead I confused myself. Lack of sleep the prior night may have been a factor! <grin> Thanks Barbara! Charles
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.