In COBOL, what is the purpose of the FUNCTION statement when using intrinsic functions?

  • To call built-in intrinsic functions
  • To declare variables
  • To invoke user-defined functions
  • To specify file operations
The FUNCTION statement in COBOL is used to call built-in intrinsic functions. It enables the use of predefined functions like NUMVAL, EDIT, and others, providing a convenient way to perform specific operations on data within a COBOL program.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *