What is the difference beetween Arrays and Tables in Cobol?
please dont give the answer that arrays in cobol
terminology is called tables......
Answers were Sorted based on User's Feedback
Answer / obul
Storing the similar type of data in contiguous memory
locations is called an Array and storing the different type
of data in contiguous memory locations is called Table in COBOL.
|Is This Answer Correct ?||8 Yes||1 No|
Answer / ravendra singh
we can use subscript with array but in the other hand with
table we can use indexing. we can perform search with array
by using subscript but with the table we can use both
subscript and the indexing searching an element into table.
|Is This Answer Correct ?||0 Yes||0 No|
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
What is Alternate Index ? How is it different from regular index ?
What is the difference between a binary search and a sequential search?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
How may divisions are there in JCL-COBOL?
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 is file status 39 ?
What is difference between comp & comp-4?
what is record label is empty or standard in file description of data division?
for an INITIALIZE and what keyword allows for an override of the default.
if you give cylinder(1,1)how many cylinders it will be allocate?
Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?