How do you define a table/array in COBOL?
Answer Posted / sudheer
To define a table use occur clause ..
01 WT-TABLE-DATA.
03 WT-TAB-PARM OCCURS 99 TIMES
INDEXED BY WT-TAB-IDX.
05 WT-TAB-PARMREC.
10 TBL-PARM-UPDT-CD PIC X(02).
10 FILLER PIC X(01).
10 TBL-STATUS-FLAG PIC X(01).
10 FILLER PIC X(76).
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Which is not true about evaluate statement
Describe the cobol database components?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how do you reference the printer file formats from cobol programs
what is the difference between COBOL2 AND COBOL390?
How do you differentiate between cobol and cobol-ii?
Explain about different table spaces.
What is report-item in COBOL?
Which division and paragraphs are mandatory for a COBOL program?
what is difference between cobol and cobol/400
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is redefines clause in COBOL?
What is link edit in cobol?