|
On Aug 30, 2011, at 2:54 PM, midrange-l-request@xxxxxxxxxxxx wrote:
In COBOL, I could do something like this:
01 CODE128.
05 FILLER PIC X(10) VALUE 'ABCDEFGHIJ'.
05 FILLER PIC X(1) VALUE 'K'.
05 FILLER PIC X(5) VALUE '12345').
01 CODE128TABLE REDEFINES CODE128.
05 CODE128-CHARACTER PIC X OCCURS 16 TIMES.
RPG IV equivalent.
D MyDS DS
D 10a Inz(ABCDEFGHIJ')
D 1a Inz('K')
D 5a Inz('12345')
D Array 1a Overlay(MyDS) Dim 16.
Pretty much the same as in COBOL really.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.