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
what happens if parmparameter passes zero bytes to the program
What are all the divisions of a COBOL program?
Name the sections present in data division.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
i need a small 3d program using inline and outline.
What is report-item in COBOL?
In which area will you utilize 88 level items in cobol?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Can we redefine the field of x(200) to less than 200?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Write some characteristics of cobol as means of business language.
Why would you use find and get rather than to obtain?
What the difference is between continue and next sentence?