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


  • Subject: Re: reference file removed
  • From: "Quazy" <quazy@xxxxxxxxxxxx>
  • Date: Tue, 21 Mar 2000 15:15:55 -0600

the XXX is just to mark the line in the program I know how to comment out a
line!

I understand that a signed cant have a edit word, But I would like to know
why does it work when you define the variable as signed in the reference
file????

thanks
----- Original Message -----
From: "Lewis Libman" <LLibman@behr.com>
To: <RPG400-L@midrange.com>
Sent: Tuesday, March 21, 2000 10:43 AM
Subject: Re: reference file removed


> instead of XXXA, make it A*.  the * has to be right after the "A" spec
form type.
>
> Lewis Libman
> llibman@behr.com
> 714 545 7101 x2118
>
> >>> "Quazy" <quazy@SoftHome.net> Tuesday, March 21, 2000 7:10:48 AM >>>
> 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
> +---
>

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

Replies:

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.