|
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,wrote:
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>
sourceWe also have that problem, and we don't use the IFS toThis strikes me (as someone who doesn't use RDi, but uses other
store the source.
programmer's editors for Windows) as very odd. If your source is in
physical files, then the record lengths are fixed; and in principle, youNot in the editor John.
*should* have blank spaces at the end of every line, to pad the record.
(Iissue"
presume this is what Charles meant when he said the "trailing space
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 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.