What is the difference beetween Arrays and Tables in Cobol?
please dont give the answer that arrays in cobol
terminology is called tables......
Answer Posted / jeet
Arrays are basically used to store data which are of
similar type in contiguos memory locations.
Tables on the other hand you can think it as a list which
is used for lookup/referencing, for example when doing a
SEARCH/SEARCH ALL.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
Which Search verb is equivalent to PERFORM…VARYING?
Define static linking and dynamic linking.
what is difference between cobol and cobol/400
Which is not true about evaluate statement
What are the different rules of SORT operation?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What kind of error is trapped by on size error option?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how do you reference the esds vsam file formats from cobol programs
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.
What is the difference between perform … with test after and perform … with test before?
Differentiate between structured cobol programming and object-oriented cobol programming.