What is the difference between index and subscript?
Answer Posted / harish
subscript normal variable dec in w-s section.
index cant
subscript can be accepted or displayed
for index set index up by value down by value..
subscript- arithmetic operation is possible..
subscript refers to array occurance,
index refers to the displacement of start of the array
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA
Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
What are 77 levels used for?
Explain how to differentiate call by context by comparing it to other calls?
What is the local-storage section?
Which division and paragraphs are mandatory for a COBOL program?
how can i see junk values in dclgen or in hostvariable of comp ?
how do you reference the ksds vsam file formats from cobol programs
What is the difference between goback, stop run and exit program in cobol?
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 kind of error is trapped by on size error option?
how do you define single dimensional array and multidimensional array in your cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Write the code to count the sum of n natural numbers.
Name the divisions, which are available in a cobol program?
what is search and searchall?what is the diffrence between them?give an best example?