From: David E. <de...@ar...> - 2003-09-20 05:22:59
|
Mirce Vladimirov wrote: > I had a program which had a data item named RD. > > 01 RD PIC X. > > during compilation a Parse error was reported. > Long time I was trying to figure out wat is the > problem (unsuccesfuly must say). > Most confusing was that it's an old program > (was coded about 4 or 5 years before), and it was > always compiled normaly under acucobol. > Finaly I commented that line and compilation ended > normaly. > Few months later I downloaded TC 0.61 and tryed > to compile original version of program. No success. > Still don't have idea what's the problem. > Finaly a lamp lighted above my head, changed name of > that item, compiled OK. > See the attachment named rd.cob, it doesn't compile > too since it has a data item named RD. > So...what could it be ? > What does RD mean ? > Is it a reserved word in TC ? RD is a ANSI COBOL reserved word, so it is not specific to TC. It is used in the report description entry, in the REPORT SECTION. Since it is a reserved word, it can't be used as an identifier. |