I heard about this group. I just moved to Tandem tachnology. liked it
very interesting. I have few queries which I am not able to find it
NTL site.
1. Is it possible to call a Java Program (running in OSS Unix-tandem)
through COBOL program (running in Guardian-tandem).
2. How to include and use IPC in COBOL (running in Guardian-tandem) to
send/use by Java (running in OSS Unix-tandem).
3.Can we invoke any Tacl program/OSS Unix shell script thru stand
alone COBOL (running in Guardian-tandem).
If anyone of you can help me, it would be great.
Thanks
Akash.
One way is to use TCP/IP. That is pretty simple on the Java side, using standard Java libraries. On the COBOL side, it would be a little more difficult -- you would have to use ENTER TAL "xxxx" to call the various system procedures needed to do TCP/IP communications in the Guardian environment.
Another way is to use Guardian interprocess I/O. There is a Tandem-specific Java library known as jToolkit, which includes something named "Pathway API for Java", which provides the ability to read and reply to messages on $RECEIVE. It is possible to give a Guaridan process name to an OSS process, so when you start the OSS Java program, you can give it a process name that the COBOL program can communicate with as it would to any other server process.
>
> 2. How to include and use IPC in COBOL (running in Guardian-tandem) to
> send/use by Java (running in OSS Unix-tandem).
See the second method I mentioned in the answer to the previous question.
>
> 3.Can we invoke any Tacl program/OSS Unix shell script thru stand
> alone COBOL (running in Guardian-tandem).
Yes, you can start a process using either the low-level Guardian procedures (PROCESS_LAUNCH_ or PROCESS_SPAWN_) or the COBOL-specific library called the Saved Message Utility. I think the Saved Message Utility can create only Guardian processes, so to use it to run an OSS shell script, I imagine you would run the OSH program with the appropriate parameters to get it to run the OSS script.
>
> If anyone of you can help me, it would be great.
>
> Thanks
> Akash.
If the above clues still aren't enough for you to find the information you need in the manuals, write again and ask a more specific question about what you are trying to do, and one of us probably can help further.