You can specify a unique identifier using the COBANIMSRV environment variable for the processes used by Character Animator and the program you want to debug. Character Animator will then only debug a program that has a matching identifier. For example, in one session enter:
myid is now a unique identifier you can use to match Character Animator to a program. Enter the command to start Character Animator:
Character Animator waits for a COBOL program to start that has a matching identifier. In another session enter:
export COBANIMSRV=myid cobrun prog1.int
When prog1.int starts, the unique identifier myid matches that of Character Animator, and so Character Animator attaches to this process. In the first session, the Character Animator main screen is displayed and the cursor placed on the first line of prog1.int.