Thanks to all, who bother to respond.
Naum
BTW, 12000 refers to piece of code which I did
not touch...
Sent via Deja.com http://www.deja.com/
Before you buy.
Use the command wrkmsgf *all/*all, this will show you all your message
files, then look for QRPGMSG or QRPGMSGF, this is the file that holds
the messages, then use the WRKMSGD command to point to the message file,
from here it should list all of the message file descriptions.
What this message essentially says is that your source contains some
compile time array data but it does not have any definition in the E-
Specs for this array. This could happen because of one of the two
condotions -
1. You deleted some redundant C.T.Array definitions from your source
but forgot to delete the data for this array or
2. By mistake you copied some extra info at the end of source which is
causing onfusion for the compiler.
What I suggest is that you reveiw your source code for the array
definitions and coresponding data. This should solve your problems.
Thanks
Sarva
>When I compile an RPG-III program I am getting an
>error message (8400). In the "Additional
>diagnostic" area it says:
>* 8044 12000 END OF FILE EXPECTED BUT NOT
>FOUND.
[Snip]
>BTW, 12000 refers to piece of code which I did
>not touch...
You're dealing with a compile time array(or table)
In the E specs a compile time array is defined with the number
of elements in it and the number of elements on each 'record'
The 'records' appear at the end of the RPG Specifications, the
first record for each array starts ** . The elements in the
array are loaded with the data in the records.
The 'records' and arrays must match both in sequence and number
of records.
I suspect you've deleted an E specification(or number of records
from an array definition) from the source.
Regards, Worley
OPTION(*SECLVL) is supported for all CRTxxx commands that produce a
listing, as far as I know.
Barbara Morris
nauml...@my-deja.com wrote:
>
> When I compile an RPG-III program I am getting an
> error message (8400). In the "Additional
> diagnostic" area it says:
> * 8044 12000 END OF FILE EXPECTED BUT NOT
> FOUND.
> In the "Message summary" area it says:
> * QRG8044 Severity: 20 Number: 1
> Message . . . . : The Source records
> exist but no array or table definition is found.
> Since I am new to RPG none of this makes any
> sense to me. To get more info I am trying to find
> the message QRG8044 in a message description file
> but I do not know which one to use (I did not
> find it in neither QRPGMSGE, nor QRPG3MSGE, I do
> not have any message file starting with QRG...).
> I am running old V3R2 system. My question is :
> How do I find a message description file which
> contain a specific message I am getting from a
> system component (RPG in my case)?
>
> Thanks to all, who bother to respond.
>
> Naum
>
> BTW, 12000 refers to piece of code which I did
> not touch...
>