Write the syntax of a two dimensional array?
Answer Posted / bhanu
this is actually a question which i got.
How to initialize a two dimensional array with indexes?
can any one kindly show me the syntax..?
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Explain the configuration section of a cobol program with examples of syntax.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
) How do u handle errors in BMS macro?
For rewrite, why is it mandatory that file needs to be opened?
How do define dynamic array in cobol.
What kind of error is trapped by on size error option?
What is comp-1 and comp-2?
What is the utilization of copybook in cobol?
What is the difference between Global and External Variables?
What are the different types of condition in cobol and write their forms.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is Pic 9v99 Indicates in COBOL?
What is the difference between PIC 9.99 and 9v99 in COBOL?