From: Bill G. <bi...@cs...> - 2002-09-05 20:00:43
|
On Thu, 5 Sep 2002 bko...@ma... wrote: > I think the problem may be in the second SELECT statement. IIRC, TC only > allows the use of a literal or a data element as the object of an > assignment. The '$' in the ASSIGN clause is probably throwing the compiler > off. That was it. And a quick look at my old (and unused for many years) COBOL book verified that the "$" is not valid in that use. > > What are you trying to accomplish with this SELECT statement? (It looks > like you want the files to go to the standard output.) SYS$OUTPUT is the VMS way of saying stdout. Yet another case of a vendor allowing non-standard code to pass through their compiler. Of course, these are the same people who complain about lack of portability. Thanks everyone who answered. Looks like this compiler will do the trick for this sememster. I'll be running more code through it myself and, of course, if anyone can break it, a bunch of undergrads can. I'll report back any problems that turn up. All the best. bill -- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bi...@cs... | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h> |