What is the difference between index and subscript?

Answer Posted / vamsi krishna g

subscript is occurence type like arrays so if u want to
dispaly a value of it means it will search for it from
begining

indexed:
if u want to dispaly a value of an vairable it will
directly diplaces to that value and display the value

so from this we can say
subscript is an occurance type and indexed is displacement
type
if any wrong means please update me

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

1053


Explain the configuration section of a cobol program with examples of syntax.

878


What kind of error is trapped by on size error option?

966


Difference between array and sub-script ?

1385


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1177


Which Search verb is equivalent to PERFORM…VARYING?

865


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2326


What is the difference between PIC 9.99 and PIC9v99?

1041


What are the different data types in cobol?

1060


What are the various section in data division and briefly explain them.

923


Why occurs cannot be used in 01 level in COBOL?

924


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2130


Define cobol?

1077


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

853


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

898