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
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Why occurs cannot be used in 01 level in COBOL?
how do you reference the rrds file formats from cobol programs
A table has two indexes defined. Which one will be used by the SEARCH?
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 amode(31)
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are the various section in data division and briefly explain them.
For rewrite, why is it mandatory that file needs to be opened?
how do you reference the variable block file formats from cobol programs
What type of SDLC u followed? Why?
What kind of error is trapped by on size error option?
How do get the result of your program directly on your pc?