Skip to main content

Functions 'system' and 'SYSTEM'

  • February 15, 2013
  • 0 replies
  • 0 views

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

0 replies

Be the first to reply!