|
Generally when I have to do this I use the D specs...it's easier & more efficient (IMO)... D DS D Alpha 10a D ARD 1a DIM(10) Overlay(Alpha) Now the array can be referenced via array element or as a 10 byte char field. Not to mention you no longer have to "move" the array data. Both fields point to the same block of memory. Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces+tommy.holden=hcahealthcare.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+tommy.holden=hcahealthcare.com@xxxxxxxxxxxx] On Behalf Of steema@xxxxxxxxxxxxx Sent: Monday, January 30, 2006 10:01 AM To: RPG programming on the AS400 / iSeries Subject: updating a PF from an array HI I move a string into an array defined as: D ARD S 1 DIM(10) and try to move this field into a 10 pos. field in a PF but prgrm does NOT compile: RNF5343 30 1 Array has too many omitted indexes; specification is ignore
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.