|
Chris,
Try removing the "S" from the data type. That should solve your problem.
Dwight Slessman
"Quazy"
<quazy@SoftHome.n To: <RPG400-L@midrange.com>
et> cc:
Sent by: Subject: reference file
removed
owner-rpg400-l@mi
drange.com
03/21/2000 10:10
AM
Please respond to
RPG400-L
I had a small application that was written by a outside consultant, and
written with a reference file. We don't want to use the reference file, so
I went in and changed all the references, but in my display files I have
two fields giving me problems. I get a error on the edtcde and edtword
that worked when the field was referenced, but now it wont take them.
Below is a example the lines with XXXX are the error lines. Any light you
can shed on this would be greatly appreciated.
Thanks Chris.
BEFORE:
A S@DSTP R O 18 39REFFLD(CMDSTP)
A OVRDTA
A EDTCDE(Y)
A 19 8'Last Update Time
. . . .
A S@TSTP R O 19 39REFFLD(CMTSTP)
A OVRDTA
A EDTWRD(' : :
')
AFTER: reference removed.
A S@DSTP 8S 0O 18 39OVRDTA
XXXXA EDTCDE(Y)
A 19 8'Last Update Time
. . . .
A S@TSTP 6S 0O 19 39OVRDTA
XXXXA EDTWRD(' : :
')
ERROR:
CPD7554 20 4 Message . . . . : Keyword not valid with
data type or keyboard shift value.
+---
| 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.