What is the different between index and subscript?

Answer Posted / sharath-hyd

INDEX is Displacement position of array data name.
Subscript is No. of occurenceof array data name.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules of SORT operation?

689


In COBOL programming, what is PERFORM? What is VARYING?

668


Whats the difference between search & search ALL?

5249


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

670


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

674






Can we redefine the field of x(200) to less than 200?

814


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


What are the cobol coding sheets?

657


Are you comfortable in cobol or jcl?

637


What is the difference between PIC 9.99 and PIC9v99?

771


Write the code to count the sum of n natural numbers.

697


how do you reference the ksds vsam file formats from cobol programs

660


State the various causes of s0c1, s0c5 and s0c7.

656


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?

6804


Why did you choose to work with ibm mainframe cobol programming?

627