What is the difference between a subscript and an index in
a table definition?
Answer Posted / satheesh gova
subscript specifies the no of occurances of a table or
array where as index specifies the displacement of a
table,subscript is working storage variable but index is not
working storage section variable,by using arithematic
operations we can increment and decrement the value of
subscript,but by using SET verb we can get it in index.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Explain about different table spaces.
For rewrite, why is it mandatory that file needs to be opened?
What are the pertinent COBOL commands?
What kind of error is trapped by on size error option?
Write a cobol program making use of the redefine clause.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
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?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
how do you reference the fixed unblock file formats from cobol programs
When is inspect verb is used in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How you can read the file from bottom?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps