what is dynamic array in cobol?
what is the difference b/w array and table in cobol?
Answers were Sorted based on User's Feedback
Answer / harihar
Difference between:
Array is a multiple occurances of a single data item with
same data type.But table can have more than one data item
with different types of data type respectively.
Dynamic Array:
The dynamic array is nothing but no of occurrances of data
item changes dynamically during the program execution.
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / ram g
array also can have more than one data item with different
data types...
before differentiating b/w array nd table...just thing how
will get table...
absolutely u r rite about dynamic array definition but is
it possible in cobol current version..if yes..then how? plz
dont say occurs depending on ...which is not at all dynamic
array concept...
| Is This Answer Correct ? | 4 Yes | 2 No |
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
What is the use of LINKAGE SECTION?
How can you display the SPOOL information ?
What are all the divisions of a COBOL program?
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
What is the difference between external and global variables in COBOL?
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
If I want to increase the Limit in GDG. What should I do?
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?