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.
Loading...
Related Quiz
- In a multi-user environment, two COBOL programs need to access the same file for reading and writing simultaneously. Which file access mode should you select to ensure data consistency?
- In COBOL, what is the difference between the ADD and SUBTRACT statements when performing arithmetic operations?
- How does the "WORKING-STORAGE SECTION" differ from the "LINKAGE SECTION" in COBOL?
- How do you declare a numeric variable in COBOL?
- What is the significance of the OCCURS clause when used with group data items?