Skip to main content
Dominique Sacre
Rocketeer
Feb 15, 2013 10:30 PM UTC

Functions 'system' and 'SYSTEM'

Problem:

What  is the different between 'system' and 'SYSTEM'   ?

Resolution:

What  is the different between 'system' and 'SYSTEM'   ?

The 'SYSTEM' function restores the users terminal mode prior to executing any Unix command, after the Unix command completes, the terminal settings are restored to values needed for COBOL  screen handling .

The 'system' function does not reset the terminal mode, screen output from a  Unix command   may not be properly formatted .

An example of the application is attached .

Attachments:

cmain.c

Old KB# 2072