Enables a COBOL program to stop or suspend animation, or terminate a live recording.
Note: This routine is supported for native COBOL only.
Syntax:
CALL "CBL_DEBUG_STOP" using by value flags
returning status-code
Parameters:
- flags
- Using call prototype (see
Key) : cblt-os-flags
- Picture: pic x(4) comp-5 (or pic x(8) comp-5 for 64-bit native programs only)
- status-code
- See
Library Routines - Key
On Entry:
- flags
- Controls how animation stops. You can set the following bits:
-
Bit
|
Meaning
|
0
|
Animator detaches.
|
1
|
Animator terminates.
|
Comments:
If the process is being recorded by live recorder, the recording process is stopped and the recording file is saved.
If the program is being debugged when it calls CBL_DEBUG_STOP, then animation stops. The effect on Animator and the program that called CBL_DEBUG_STOP depends on the settings of bits 0 and 1 of flags:
If the program is not being debugged when it calls CBL_DEBUG_STOP, then execution continues as if the routine had not been called.