× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think you want to use RPGLE and a D-spec and turn it around: 

  D  Commsg            C                 'Excess Commission ear-
  D                                      ned'

(I'm not sure of the spacing, but the constant goes on the right, the 
field's name on the left.)

If you are using RPG then you'll be much happier to use a compile time 
array for your constants, or a series of MOVE and MOVEL statements in the 
*INZSR subroutine.



_______________________
Booth Martin
boothm@earth.goddard.edu
http://www.spy.net/~booth
_______________________




"Jerry Brace" <jbdummy@crosswinds.net>
Sent by: owner-rpg400-l@midrange.com
03/19/1998 10:26 AM
Please respond to RPG400-L

 
        To:     <RPG400-L@midrange.com>
        cc: 
        Subject:        Little help on the I-SPEC


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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.