How do define Dymanic array in cobol how do u define single
demensional arry and multidymensional arry in ur cobol.
Answer Posted / mahesh
single dimensional array-
01 year grp.
05 month pic 9(2) occurs 12times.
multi dimensional array
01 year grp.
05 month occurs 12times.
05 weak occurs 4 times.
05 days pic x(4) occurs 7 times.
dynamic array-
01 yy grp.
05 month pic x(4) occurs 10-12 times depending upon 'yygrp'.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How many bytes S(8) comp field occupy and its maximum value?
What are the different rules for performing sort operation?
Which division and paragraphs are mandatory for a COBOL program?
) How do u handle errors in BMS macro
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How do you differentiate between cobol and cobol-ii?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What are various search techniques in cobol? Explain.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is redefines clause in COBOL?
how do you reference the variable block file formats from cobol programs
What is the utilization of copybook in cobol?