chirpyform
Programmer
We have put together a client-server communication with Java.
The server runs COBOL programs using micro focus (cobcall).
The problem being that the server can run the cobol programs in parrallel as it uses a system of threads.
This means that the variables in the COBOL programs are being used several times at once which is causing problems!!
I have seen that we can use thread-local-storage in stead of the working-storage however as we use SQL commands in the COBOL programs the compiler doesn't seem to like this.
Is it possible to have SQL in a multithreading system? If so how?
many thanks for any response. If there is anything else that you need to know or if it is not clear please say.
Chris
The server runs COBOL programs using micro focus (cobcall).
The problem being that the server can run the cobol programs in parrallel as it uses a system of threads.
This means that the variables in the COBOL programs are being used several times at once which is causing problems!!
I have seen that we can use thread-local-storage in stead of the working-storage however as we use SQL commands in the COBOL programs the compiler doesn't seem to like this.
Is it possible to have SQL in a multithreading system? If so how?
many thanks for any response. If there is anything else that you need to know or if it is not clear please say.
Chris