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
What is Pic 9v99 Indicates in COBOL?
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
What are the pertinent COBOL
What are literals?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different rules to perform a Search?
Name the divisions, which are available in a cobol program?
What are the cobol coding sheets?
What is length is cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Write some characteristics of cobol as means of business language.
how can i see junk values in dclgen or in hostvariable of comp ?
how do you reference the fixed unblock file formats from cobol programs
how do you reference the variable block file formats from cobol programs