From: David E. <de...@us...> - 2008-11-20 18:26:11
|
Jon Shorie wrote: > Has anyone looked at supporting a .tk interface to tiny cobol? > > We use fujitsu cobol here for some internal apps that run on desktop pc's. We > are looking at options to migrate them to something that is more cross > platform than being locked in to win32. > > As they have a significant amount of business logic in the code, it would be > very expensive to migrate to another language than cobol for these. > > We have looked at the .tk toolkit because it would standardize our other > internal apps that are based in languages such as perl, python, pascal, etc. Yes you can use many GUI front ends with TC. The 'gui*' examples found in the 'test.code' directories (included with the source code), include working examples using TCL/TK, Wind*ws API and GTK. Basically, the COBOL (sub)programs can be considered as just as another C type function call of type 'int program(...)'. Have you considered using a 'client/server' model. The data and 'business logic' reside on a server and is displayed locally. This approach can yield good COBOL code reuse, without major source code modifications. The easiest of these methods, would be to use a web interface to display and update information. Anyway, hope this helps. |