From: Hudson R. <hud...@so...> - 2002-10-16 14:44:54
|
Hi Alain, Sorry to have not answered yet.. This time to contribute is small.. :( > this is the first error, because the sort-return is not defined > (there are more controls in TC now than when Test08 cobs where written) > but, if you add in WORKING-STORAGE SECTION. > 77 sort-return pic 99. > you can see the real problem : > a SORT with INPUT and OUTPUT PROCEDURE(S) is well compiled, > but a sort with USING a file name is not. > This is not a mistake in the test08 cobol program but > I suppose, somewhere in the compiler because most of the > time USING refer a FIELD name in W-S or Linkage section > but the sort USING refer to a FILE NAME in the FILE SECTION. I was talking to Rildo and he answered me that the SORT verb worked before... Any contributor should have modified the compiler and didn't tested this modification running test_suite after. :( > Anyway, it's not a big problem because we can sort a file > by a call "system" ... Well.. is a way.. It isn't the best one, but is a way.. :) > Other thing, you have certainly termcap (/etc/termcap) > and /usr/share/terminfo . > try > $ locate terminfo > (if you have slocate on your system) > and > $ apropos terminfo > $ man terminfo > $ man infocmp Thanks, I will search informations about this because I need to learn this so I could use my COBOL programs in linux. :) Best Regards. Hudson. |