|
Jerry, An array listing might look something like this: d MSG S 25 CTDATA DIM(1) PERRCD(1) then we you want to include message: c eval COMMSG = MSG(1) at the bottom of your program is where you list your CTDATA (all the way to the left): **CTDATA MSG EXCESS COMMISSION EARNED The reason you may want to use a compile time array is that with this approach you can include all messages in the program and just reference the needed message within the MSG(x). Hope this helps a little. Mark A McCarty New Campaign/Polo Leathergoods * ------------------------------------------------------------------------------------- * Jerry Brace wrote: > > Hi everyone, I'm a new RPG programmer. I just started a couple of months > ago. I was hoping that someone could help me with a little question i have. > I'm setting up constants on the I-SPEC. One of them is a message that > contains: > "EXCESS COMMISSION EARNED". > Here's what I have done: > > col 28 col43 col53 > 'EXCESS - C COMMSG > 'COMISSION - > 'EARNED' > > is this correct? > > Jerry > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | 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-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.