× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



John-

I'm sure it doesn't make sense to you not being a user. Of course your
comments don't make sense to me being a long-time user of WDSC, RDi, and
all the versions in between.

The editor has always trimmed the trailing spaces when opening source
members. Then when saving source members, there's no need to pad the
spaces as it's data being written to a fixed length field (SRCDTA) and
character field data is always padded with spaces.

e.g.,
dcl-s SampleField char(10);

SampleField = 'A';

SampleField will contain 'A '--i.e, with the extra nine spaces on
the end.

If you want to understand RDi, maybe you could try it sometime.


"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 02/17/2015 11:00:08 AM:
----- Message from John Yeung <gallium.arsenide@xxxxxxxxx> on Tue,
17 Feb 2015 07:57:45 -0500 -----

To:

"Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>

Subject:

Re: [WDSCI-L] Source Opens with trailing spaces not trimmed

On Tue, Feb 17, 2015 at 4:41 AM, Paul Bailey <PaulBailey@xxxxxxxxxx>
wrote:
We also have that problem, and we don't use the IFS to
store the source.

This strikes me (as someone who doesn't use RDi, but uses other
programmer's editors for Windows) as very odd. If your source is in
source
physical files, then the record lengths are fixed; and in principle, you
*should* have blank spaces at the end of every line, to pad the record.

Not in the editor John.

(I
presume this is what Charles meant when he said the "trailing space
issue"
should only be for folks with source in (stream files in the non-QSYS
portion of) the IFS.)
. . .
. . .
. . .

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.