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
) how do u code after getting data?
how do you reference the ksds vsam file formats from cobol programs
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Why did you choose to work with ibm mainframe cobol programming?
How many bytes S(8) comp field occupy and its maximum value?
) How do u handle errors in BMS macro
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are various search techniques in cobol? Explain.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Why would you use find and get rather than to obtain?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What are literals?
What is length is cobol?
How are the next sentence and continue different from each other?
Can we change the password using ALTER? anyone tried and changed?