Yes, I have tried this but without any success. The interesting thing is that we have been running in an OCDS environment without having to put in the COBOL run-time directories in the PATH. So this has definitely worked before.
It must be something simple, just that I can't find it...!
but...
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...
Thanks Jack. Yeah - initially that is the route we would have taken - it's so much easier. But unfortunately, CL programs can only receieve a maximum of 9'999 characters passed through to it - so this wasn't going to be any good to us.
But thanks for the reply anyway.
m xmas!
cheers
phil
The cobol program that I have written doesn't have anything set up as far as library lists etc are concerned. The program has been called from an external source and this program then needs to set up the environment to run a particular software suite. So basically, I need to be able to call a...
Does anyone know if it's possible to call a program in a specific location on the AS400?
Usually one calls a program in the format:
CALL "progname" USING .....
But I need to call a program in a specific library.
I was hoping to use something like:
CALL "progname" IN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.