Skip to main content

One developer wants to do a cross-session animation. The program to animate is running from a "batch" script and cobanimsrv is executed from an interactive session. The COBANIMSRV variables and other COB variables are identical in the script and in the session. cobanimsrc starts and waits as expected. When the script starts and gets to the program to animate, cobanimsrv ends immediately without any message, just a series of blank lines. In the meantime, the program in the script pauses as if it was waiting for instructions from cobanimsrv. Back to the session, we determine the program's process id and issue "anim <pid>". The connection is established at the this point and can proceed with the animation. Any idea why cobanimsrv would start/stop immediately and not connect with the program while a direct "anim" would?


#COBOL
#debugging
#COBOLserver
#ServerExpress

One developer wants to do a cross-session animation. The program to animate is running from a "batch" script and cobanimsrv is executed from an interactive session. The COBANIMSRV variables and other COB variables are identical in the script and in the session. cobanimsrc starts and waits as expected. When the script starts and gets to the program to animate, cobanimsrv ends immediately without any message, just a series of blank lines. In the meantime, the program in the script pauses as if it was waiting for instructions from cobanimsrv. Back to the session, we determine the program's process id and issue "anim <pid>". The connection is established at the this point and can proceed with the animation. Any idea why cobanimsrv would start/stop immediately and not connect with the program while a direct "anim" would?


#COBOL
#debugging
#COBOLserver
#ServerExpress

Hello Francois Desrochers,

 

Thanks for posting to the Micro Focus Community site.

 

Can you provide some additional background about the product and platform in use? Could you confirm which COBOL product is this, and what version is in use? With your environment set for running COBOL, providing the output of the command "cob -V" may help here.

 

Also, which Operating System, O/S version and platform?

 

Finally, is this the first time that cross-session animation has been attempted on a new server or product installation?


Hello Francois Desrochers,

 

Thanks for posting to the Micro Focus Community site.

 

Can you provide some additional background about the product and platform in use? Could you confirm which COBOL product is this, and what version is in use? With your environment set for running COBOL, providing the output of the command "cob -V" may help here.

 

Also, which Operating System, O/S version and platform?

 

Finally, is this the first time that cross-session animation has been attempted on a new server or product installation?

We are using MF Server Express.

:cob -V
version @(#)cob.c 5.1.1.0
PRN=RXCAQ/AAF:9n.K4.51.04
PTI=WrapPack 3
PTI=ES

HP-UX abcdefghj B.11.31 U ia64 123456789 unlimited-user license

We have this issue with one user. This is not a new installation but the user is. We have other developers (myself included) using animator and have been for years. I suspect permission issues. I checked a lot of things but was unable to see any glaring differences. We have a workaround so it's not critical but would like to understand what's going on.

Thanks for your help.