Describe the difference between subscripting and indexing ?
Answer Posted / minhaj
subscript represent the occurence of array.
subscript defined with working storage section.
subscript value can be changed with add,subtract,multiplication.
Index represent first occurence in the array,Index define
along with table entries as part of occus class.
value of index can be changed by the set operator.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
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?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How do we get current date from system with century in COBOL?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Explain what you understand by passing by value.
Write a program that uses move corresponding.
What is the compute verb? How is it used?
Can we redefine the field of x(200) to less than 200?
Which mode is used to operate the sequential file?
When is inspect verb is used in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Discuss about changing dataset name in proc.
What are the various section in data division and briefly explain them.