A subprogram can have its own _____ section for local data.
- FILE
- LINKAGE
- LOCAL-STORAGE
- WORKING-STORAGE
A subprogram in COBOL can have its own LOCAL-STORAGE section for declaring local data items. These items are private to the subprogram and retain their values between successive calls to the subprogram.
Loading...
Related Quiz
- When working with relative files, the _____ clause is used to specify the maximum record size.
- How is a group data item different from an elementary data item in COBOL?
- Which COBOL statement is used to raise an exception explicitly in a program?
- When working with databases in COBOL, what does SQL stand for?
- When handling exceptions in COBOL programs, the "HANDLE EXCEPTION" phrase allows you to define custom _____ routines.