What is the difference between index and subscript?
Answer Posted / harish
subscript normal variable dec in w-s section.
index cant
subscript can be accepted or displayed
for index set index up by value down by value..
subscript- arithmetic operation is possible..
subscript refers to array occurance,
index refers to the displacement of start of the array
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
What is the difference between perform … with test after and perform … with test before?
Which division and paragraphs are mandatory for a COBOL program?
What are declaratives and what are their uses in cobol?
Can a Search can be done on a table with or without Index?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
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.
In COBOL, what is the different between index and subscript?
Which is not true about evaluate statement
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the difference between goback, stop run and exit program in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between Global and External Variables?
Explain about different table spaces.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?