From: eurlix <eu...@li...> - 2002-09-02 08:12:56
|
Hi Hudson, Le Sun, 1 Sep 2002 13:06:11 -0300 Hudson Reis <hud...@so...> a =E9crit: > Hi Alain, > ... >=20 > If your doubt isn't this, sorry for don't have helped you. :( >=20 I have no doubt, but my problem was elsewhere (sure I made a mistake) and now the time is good. In any cases, thanks for your help. > > Perhaps for the same reason the "sort" is broken ? >=20 > You talk about the SORT verb? If yes, unfortunatelly the verb SORT > not have working, the problem is this: >=20 > htcobol -c -P -D -I../copybooks -I. test08u.cob > test08u.cob: 67: variable SORT-RETURN not defined,0 >=20 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=20 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. Anyway, it's not a big problem because we can sort a file by a call "system" ... > Regards and sorry for anyway... > Hudson. >=20 Other thing, you have certainly termcap (/etc/termcap) and /usr/share/terminfo . try=20 $ locate terminfo (if you have slocate on your system) and $ apropos terminfo $ man terminfo=20 $ man infocmp Thanks for all Regards, --=20 Alain Lucari Eurlix 1, rue Reine Elisabeth von Witellsbach (Reine des Belges) 13001 Marseille FRANCE |