Question: Unlike Java and C, COBOL has very strict column coding standards. An sourcee COBOL program was originally coded on a 80-column punch card. Each punch
Unlike Java and C, COBOL has very strict column coding standards. An sourcee COBOL program was originally coded on a 80-column punch card. Each punch caard had 5 special column areas. Use the followwing table check one of the following 5 column areass were following COBOL statements, clausess, keywords, etc. are coded or started.
|
| Columns 1-6 Sequence | Column 7 Indicator | Columns 8-11 Area A | Columns 12-72 Area B | Columns 73-80 Identification |
| MOVE |
|
|
| X |
|
| PIC |
|
|
|
|
|
| FILE-CONTROL |
|
|
|
|
|
| INPUT-OUTPUT SECTION |
|
|
|
|
|
| 05 CUSTOMER-NAME |
|
|
|
|
|
| FD |
|
|
|
|
|
| WORKING-STORAGE SECTION |
|
|
|
|
|
| PROGRAM-ID |
|
|
|
|
|
| DATE-COMPILED |
|
|
|
|
|
| LABEL RECORDS ARE STANDARD |
|
|
|
|
|
| PERFORM |
|
|
|
|
|
| OPEN |
|
|
|
|
|
| 300-PROCESS-REPORT |
|
|
|
|
|
| FILE SECTION |
|
|
|
|
|
| CONFIGURATION SECTION |
|
|
|
|
|
| OBJECT-COMPUTER |
|
|
|
|
|
| AUTHOR |
|
|
|
|
|
| * (an asterisk - A COBOL Comment statement |
|
|
|
|
|
| - (a hyphen - A COBOL line continuation character) |
|
|
|
|
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
