Can anyone tell me what else I need to do to get this to run? A path
statement? A parameter in the runcobol command? Thanks.
Indeed it is a PATH that you need.
Before running the program you will need to set variable RUNPATH to
the list of directories containing the programs and eventually the
filenames you will be processing.
e.g. RUNPATH=/usr/progs/myproglib1:/usr/progs/myproglib2
How you set the variable depends on the shell used.
If you are going to run this on the background you should probably set
a shell script to set both the RUNPATH and TERM variables correctly.
Frederico Fonseca
ema il: frederico_fonseca at syssoft-int.com
It could be that you are not loading the flexgen shared object library,
libflexgen.so. This shared object can be loaded automatically if you place
it in a subdirectory called rmcoboso/ in the same directory as the RM/COBOL
runtime (runcobol). If you do not wish to load the libflexgen.so
automatically, you call always use the -l command line option to specify the
library. The runtime will report the loaded dynamic libraries if you execute
with the -v command line option (e.g., runcobol foo -v ).
If you can find the flexgen shared object library and are still getting a
procedure error 204 then you probably cannot find a COBOL subprogram. You
can use the RUNPATH environment variable to specify the directories where
the COBOL programs (and data files) reside.
-Robert Heady
Liant Software Corp.
<lba...@sboa.in.gov> wrote in message
news:1156942541....@m79g2000cwm.googlegroups.com...
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/flextmp/fg4:
/flextmp/fg4/fg4bin:.
export PATH
and then tried it again with the same error. I have used some other
ones also. I will keep looking for the correct path information. Is
there a file in the flexgen or rm cobol directories that would have the
correct path? Thanks.
Linda
Its not the PATH variable you need to set, but the RUNPATH. Check your
users guide for more information.
PATH is for executables
RUNPATH is RM/COBOL specific and tells the runtime where to find COBOL
objects or FILES
You should also read Flexgen documentation, as I am pretty sure they
will state you need to add their library to the command line using the
"-l" option.
Linda
Linda