1 10/17/84  stop_cobol_run, scr
 2 
 3 Syntax as a command:  scr {-control_arg}
 4 
 5 
 6 Function: terminates the current COBOL run unit.
 7 
 8 
 9 Control arguments:
10 -retain_data, -retd
11    leaves the data segments associated with the programs of the run
12    unit intact for debugging purposes (see "Notes").
13 
14 
15 Notes: The results of stop_cobol_run and the execution of the STOP RUN
16 statement from within a COBOL program are identical.  Stopping the run
17 unit consists of cleaning up all files that have been opened during the
18 execution of the current run unit and ensuring that the next time a
19 program that was a component of this run unit is invoked its data is in
20 its initial state.
21 
22 To maintain the value of all data referenced in the run unit in its
23 last used state, use -retain_data.
24 
25 Refer to the run_cobol command for information concerning the run unit
26 and the COBOL runtime environment.  See also the cancel_cobol_program
27 and display_cobol_run_unit commands.