not in front of a machine I can do mi in right now

but won't that ol' <20|b> work or is that too stupid?
additionally *(1)"b looks pretty grand looking at what you wrote, you answered 
your own question didnt you?

It is friday, Gene..............settle down.............LOL


To: MI400@xxxxxxxxxxxx
From: Gene_Gaunt@xxxxxxxxxxxxxxx
Date: Fri, 13 Oct 2006 13:07:04 -0400
Subject: [MI400] replication in array initialization

I noticed MI seems to interpret replication differently between array and
non-array initializations, for example:

DCL DD A    CHAR(6) INIT(*(1)(2)"a", *(3)(4)"b");
DCL DD B(6) CHAR(6) INIT(*(1)(2)"a", *(3)(4)"b");

this results in A:


and results in B:

"a     "
"a     "
"b     "
"b     "
"b     "
"b     "

I'm looking for a way to initialize first element in array B to "aaaaaa" by
specifying the "a" once, with replication factor 6.

Is this possible?

This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

Try the new Live Search today! 

This thread ...

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

This mailing list archive is Copyright 1997-2020 by 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].