When using the ENTRY statement in COBOL, variables declared in the called program have a _____ scope.
- COMMON
- GLOBAL
- LOCAL
- SHARED
When using the ENTRY statement in COBOL, variables declared in the called program have a LOCAL scope. This means that they are local to the called program and are not accessible from the calling program or other programs.
Loading...
Related Quiz
- What is the primary purpose of the COBOL Procedure Division?
- You are designing a COBOL program to process customer names, which may include special characters. Which data type should you use to accommodate these special characters?
- When should you use the OCCURS clause in defining data structures?
- What types of locks can be used in COBOL file handling to prevent concurrent access conflicts?
- When does the CONTINUE statement get executed in a COBOL program?