|
When I want my screen fields to automatically map into an array, I just rename them on the I-spec. For this example, our record format name in the DSPF will be SCREEN. for RPG4 ISCREEN I QN001 QN(1) I QN002 QN(2) D QN 3 Dim(2) for RPG3 E ARRAY 2 3 ISCREEN I QN001 QN,1 I QN002 QN,2 Joe Teff QDS Bloomington, MN ---------- > From: Tim Truax <truax@usaor.net> > To: midrange-L@midrange.com > Subject: RPG400 SDA query? > Date: Wednesday, October 22, 1997 2:26 PM > > Hi all, > I am building a AS400 SDA screen and on this screen I am going to have > an array (6 elements / 30 characters each) displayed. Well wanting to > take advantage of the EXFMT opcode to write my screen, I am not able to > give any of my SDA screen fields names like this -- QN,1 or QN,2.. I > have a hard time believing that I must still do a MOVE of the array > elements into the hard named screen names like this: > MOVE QN,1 QN001 > MOVE QN,2 QN002 > Etc.... > Any suggestions to this former S36'er appreciated. > -- > '''''''''''''''''''' > : Tim & Dana Truax : > : : > '''''''''''''''''''' +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.