What is the difference between a subscript and an index in
a table definition?
Answer Posted / mftech
Subscript is the occurance number in the arrary of element.
Fr e.g., an array has only one itme that repeats for 20
times, in order to refer to 10th itme in this array, you
can say ITEM(20). This '20' can be replaced by a WS
variable having value = 20.
Index: It is the displacement from the begining. if you
remember, when we use Index in a loop, then we do not code
Move 2 to WS-INDEX. We have to code. We need to set the
index to zero and then increament.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
what are decleratives in cobol?
What are the access modes of START statement?
Explain how to differentiate call by context by comparing it to other calls?
Which Search verb is equivalent to PERFORM…VARYING?
how can i see junk values in dclgen or in hostvariable of comp ?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do you reference the fixed block file formats from cobol programs
Define cobol?
Name the sections present in data division.
how do you reference the rrds file formats from cobol programs
What are various search techniques in cobol? Explain.
What is the difference between perform … with test after and perform … with test before?
What is rmode(24)
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the variable unblock file formats from cobol programs