|
----- Message from dlclark@xxxxxxxxxxxxxxxx on Mon, 9 May 2016 14:PM:
26:51 -0400 -----
To:
Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject:
Re: [WDSCI-L] New RFE--an option for formatting DCL statements in RDi
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 05/09/2016 02:19:17
didn'tHow would the following declaration look? (ugly but valid)
DCL VAR(&DS1) TYPE(*CHAR) LEN(1000)
DCL VAR(&DS2) TYPE(*CHAR) LEN(1000)
DCL VAR(&NOTSTORAGE) TYPE(*DEC) LEN(15 0)
DCL VAR(&FIELD1.1) TYPE(*CHAR) STG(*DEFINED) +
LEN(512) DEFVAR(&DS1)
DCL VAR(&FIELD2.1) TYPE(*CHAR) STG(*DEFINED) +
LEN(512) DEFVAR(&DS2)
DCL VAR(&FIELD1.2) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DS1)
DCL VAR(&FIELD2.2) TYPE(*CHAR) STG(*DEFINED) +
LEN(150) DEFVAR(&DS2)
DCL VAR(&FIELD1.3) TYPE(*CHAR) STG(*DEFINED) +
LEN(150) DEFVAR(&DS1)
DCL VAR(&FIELD2.3) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DS2)
I know what you're implying and I thought if that, too, but
say anything. You're correct that it would look like this and not bevery
helpful.. . .
DCL VAR(&DS1) TYPE(*CHAR) LEN(1000)
DCL VAR(&DS2) TYPE(*CHAR) LEN(1000)
DCL VAR(&NOTSTORAGE) TYPE(*DEC) LEN(15 0)
DCL VAR(&FIELD1.1) TYPE(*CHAR) STG(*DEFINED) +
LEN(512) DEFVAR(&DS1)
DCL VAR(&FIELD2.1) TYPE(*CHAR) STG(*DEFINED) +
LEN(512) DEFVAR(&DS2)
DCL VAR(&FIELD1.2) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DS1)
DCL VAR(&FIELD2.2) TYPE(*CHAR) STG(*DEFINED) +
LEN(150) DEFVAR(&DS2)
DCL VAR(&FIELD1.3) TYPE(*CHAR) STG(*DEFINED) +
LEN(150) DEFVAR(&DS1)
DCL VAR(&FIELD2.3) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DS2)
DCL VAR(&DS1) TYPE(*CHAR) LEN(1000)
DCL VAR(&FIELD1.1) TYPE(*CHAR) STG(*DEFINED) +
LEN(512) DEFVAR(&DS1)
DCL VAR(&FIELD1.2) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DS1)
DCL VAR(&FIELD1.3) TYPE(*CHAR) STG(*DEFINED) +
LEN(150) DEFVAR(&DS1)
DCL VAR(&DS2) TYPE(*CHAR) LEN(1000)
DCL VAR(&FIELD2.1) TYPE(*CHAR) STG(*DEFINED) +
LEN(512) DEFVAR(&DS2)
DCL VAR(&FIELD2.2) TYPE(*CHAR) STG(*DEFINED) +
LEN(150) DEFVAR(&DS2)
DCL VAR(&FIELD2.3) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DS2)
DCL VAR(&NOTSTORAGE) TYPE(*DEC) LEN(15 0)
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.