From: John R. C. <jo...@we...> - 2006-12-30 13:47:15
|
On Friday 29 December 2006 18:24, David Essex wrote: > # Specify COBOL program default input format > # free format -> PGM_FORMAT_FREE > # fixed format -> PGM_FORMAT_FIXED > # (compiler default=free format) > #PGM_FORMAT_FREE > PGM_FORMAT_FIXED > I fixed this in one htcobolrc but the system is finding another. So I will change all of them. > If you are working with libraries, same youself some work by using make > files. > A script also helps such as: htcobol -c -P -F -I../copybooks -I. testmain.cbl htcobol -c -P -F -I../copybooks -I. testcalled.cbl gcc -o testprog testmain.o \ testcalled.o -L/usr/local/lib -lhtcobol -ldb -ldl -lm I will generalize this to take different filenames using $1, $2 etc. > Hope this helps. > It surely does. Thanks for your patience. John Culleton |