|
You can "overlay" the field, then the array and the array will have the same value without MOVE
You can move one by one, if there is some validation to do..You can eliminate the array and process the field character by character using %subst(..
Emmanuel Zannis wrote:
I thought of that but is not the way forward. -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of michael@xxxxxxxxxxxxxxxxxx Sent: 07 July 2005 3:01 PM To: Midrange Systems Technical Discussion Subject: RE: MOVEA in RPG Free The MOVEA opcode is not in free format. So, you could do this: /End-FreeC Movea Ar2 Wrk_CDCXVL /Free-------- Original Message -------- Subject: MOVEA in RPG Free From: "Emmanuel Zannis" <emmanuel.zannis@xxxxxxxxxxx> Date: Thu, July 07, 2005 9:50 am To: <midrange-l@xxxxxxxxxxxx> List Hi,How do you convert the following code 2 D Ar2 S 1A Dim(9) 11 D Wrk_Field S 5A27 C Movea Ar2 Wrk_CDCXVLto free format rpg? Thank you in advance for your response. Regards, Emmanuel Zannis
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.