We are currently evaluating Server Express 2.2. We have a couple C programs that we link into a run-time.
When we try and call a COBOL program from a C program using the cobfunc facility, Microfocus comes back with a can't find program in drive/directory.
I know the program is there, since I can call it explicity from a COBOL program.
I've put some displays in the C program to get the environment settings for COBPATH and these are all OK, so it should be able to find the program using the COBPATH.
Although, some people have hinted at the idea that the C program won't use the COBPATH at all for looking up the whereabouts of a COBOL program.
Does anyone have any ideas of how the cobfunc statement works?
We've had this setup before in an OCDS environment without any problems, so it has definitely worked before.
if anyone can help I'd really appreciate it.
thanks
phil
When we try and call a COBOL program from a C program using the cobfunc facility, Microfocus comes back with a can't find program in drive/directory.
I know the program is there, since I can call it explicity from a COBOL program.
I've put some displays in the C program to get the environment settings for COBPATH and these are all OK, so it should be able to find the program using the COBPATH.
Although, some people have hinted at the idea that the C program won't use the COBPATH at all for looking up the whereabouts of a COBOL program.
Does anyone have any ideas of how the cobfunc statement works?
We've had this setup before in an OCDS environment without any problems, so it has definitely worked before.
if anyone can help I'd really appreciate it.
thanks
phil