Skip to main content

When I try to animate any Cobol program which contains a call to Dialog System, at the point where the call is made animator stops and displays a panel headed "Perform/Call Stack - view" . This indicates that DSCRUN is not animatable. There is also the error message: 191 Terminal type not defined - DSCRUN.

I believe there is only one terminal type defined on our system, which is vt220.  

The programs run OK "normally". My problem is getting past the Dialog System calls when debugging. 


#ServerExpress

When I try to animate any Cobol program which contains a call to Dialog System, at the point where the call is made animator stops and displays a panel headed "Perform/Call Stack - view" . This indicates that DSCRUN is not animatable. There is also the error message: 191 Terminal type not defined - DSCRUN.

I believe there is only one terminal type defined on our system, which is vt220.  

The programs run OK "normally". My problem is getting past the Dialog System calls when debugging. 


#ServerExpress

Hello Richard,

What operating system and version are you on? You can use "uname -a" to find this information.

Also, which version of Server Express are you running? This can be found by running "cob -V"


When I try to animate any Cobol program which contains a call to Dialog System, at the point where the call is made animator stops and displays a panel headed "Perform/Call Stack - view" . This indicates that DSCRUN is not animatable. There is also the error message: 191 Terminal type not defined - DSCRUN.

I believe there is only one terminal type defined on our system, which is vt220.  

The programs run OK "normally". My problem is getting past the Dialog System calls when debugging. 


#ServerExpress

Thanks Blair

We have SCO Unixware 7.1.4 and Server Express 5.1 WrapPack 5


When I try to animate any Cobol program which contains a call to Dialog System, at the point where the call is made animator stops and displays a panel headed "Perform/Call Stack - view" . This indicates that DSCRUN is not animatable. There is also the error message: 191 Terminal type not defined - DSCRUN.

I believe there is only one terminal type defined on our system, which is vt220.  

The programs run OK "normally". My problem is getting past the Dialog System calls when debugging. 


#ServerExpress

I was able to produce this same error inside Animator:

191     Terminal type not defined - DSCRUN

by setting the environment variable COBTERMINFO to a location other than $COBDIR/terminfo.  Here is output from 'echo' commands on my system under conditions where the error occurs:

$ echo $COBDIR
/products/SXv51WP7

$ echo $COBTERMINFO
/usr/share/terminfo

I can fix the problem by un-setting COBTERMINFO (the preferred approach), or setting COBTERMINFO=$COBDIR/terminfo.   On your system, what is the value of the COBTERMINFO environment variable when this error occurs?   Also, what is the value of the TERM and (if set) the TERMINFO environment variables?


When I try to animate any Cobol program which contains a call to Dialog System, at the point where the call is made animator stops and displays a panel headed "Perform/Call Stack - view" . This indicates that DSCRUN is not animatable. There is also the error message: 191 Terminal type not defined - DSCRUN.

I believe there is only one terminal type defined on our system, which is vt220.  

The programs run OK "normally". My problem is getting past the Dialog System calls when debugging. 


#ServerExpress

COBDIR=/opt/microfocus/cobol

COBTERMINFO=/usr/lib/terminfo

TERM=vt220aec

TERMINFO is not set

I changed COBTERMINFO to $COBDIR/terminfo and can now animate OK.

Thanks very much.