Running COBOL programs in the background on Windows

0 Likes

This article explains the method for running a COBOL program in the background of Windows.

Problem:

How do you run a COBOL program in the background when using Windows?

Resolution:

To run a COBOL program in the background use the –b runtime flag which inhibits the terminal initialization done by wrun32. This can be useful if the program is run in the background because terminal initialization can prevent normal use of the terminal by the operating system. If this flag is used, the behavior of ACCEPT and DISPLAY statements is undefined; therefore use this flag with caution. A program can examine the ACU-NO-TERMINAL field after an ACCEPT FROM TERMINAL-INFO statement to determine whether it was started with "-b".

Incident Number: 2350874

Old KB# 14586
Comment List
Related
Recommended