在运行单元的范围内,COBOL程序可以调用非cobol程序,反之亦然。
Within the run unit, COBOL programs can call non-COBOL programs and vice versa.
STOP run语句关闭了运行单元内的任意程序中定义的所有文件。
The STOP run statement closes all files defined in any of the programs in the run unit.
它们也可以作为运行单元跨越程序的生命周期,并针对每个程序或方法条目重设初始值。
They can also span for the lifetime of a program as run units and are reset to their initial value on each program or method entry.
And I end up going back and doing unit testing anyway, to try and figure out why it doesn't work. So over the years, I've just convinced myself I might as well start where I'm going to end up.
第一次从来不会正常运行,因此无论如何我还要回头去做单元测试,找找哪儿出错了,因此经过这么多年,我已经说服自己既然一定要做单元测试,那么还是一开始就做最好了。
应用推荐