[Migrated content. Thread originally posted on 19 July 2011]
I am trying to launch some 3rd-party COBOL programs using Thin-Client running on a Linux server. I have been able to get these puppies to run under telnet with no problem. However, when Thin-Client - there is only a momentary flicker and nothing executes. In order for the programs to run, the run mechanism launches the program where its expected resources are located. My approach has been to use execute a shell script to spawn -- runcbl … progname as described below:RUN.WIDGET
FILE_PREFIX=.;export FILE_PREFIX
CODE_PREFIX=/usr/client/obj_locJ; export CODE_PREFIX
CODE_SUFFIX=OBJ;export CODE_SUFFIX
FILE_SUFFIX=FIL;export FILE_SUFFIX
runcbl -c /etc/cblconfig.widget $1
CBLCONFIG.WIDGET
CODE-PREFIX /usr/client/obj_loc
CODE-SUFFIX OBJ
FILE-SUFFIX FIL
#For compatibility with 3rd-party COBOL programs.
ERRORS-OK 1
V_VERSION 3
