From: John R. C. <jo...@we...> - 2006-08-21 12:26:04
|
On Monday 14 August 2006 08:22, Bill Gunshannon wrote: > Not a real problem, but a question out of curiosity. > > I just tried to compile a program I already had and it flagged all > the "-" in the PROGRAM ID as errors. I could not find anywhere in > any of my COBOL books where this is not allowed. As a matter of > fact, I have a Hardcover book called the ANSI COBOL Programmer > Companion (or somethign close to that) that specifically said that > "-" is a legal character in the PROGRAM ID. > > Comments anyone? Did the standard change? This program compiles > just fine with the compiler under OpenVMS. > > bill The PROGRAM-ID entry is also the name by which the program is known if it is in fact a called subprogram. This might have some bearing, I don't know. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com |