What is an index for tables?
Answers were Sorted based on User's Feedback
Answer / shubha
index denotes the displacement value and it is system
defined.if you are using index variable with occurs
clause,it need not have be defined in the data division.but
it should be mentioned as i.e syntax is:
levelno(02 to 49) identifier occurs n times indexed by
indxname
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / guest
index is sama as primary key....
ex:if u open your book, if u can find the index inf rist
tow pages. table index is also same as this....
| Is This Answer Correct ? | 1 Yes | 0 No |
Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.
How to retrive the 9th records out of ten records using the cobol program ?
if someone is using my file,how can i find which user id is using?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What is the problem of ordered sequential files access?
What are different data types in cobol?
how to convert the recors form vsam file to db2 table tru file aid
How to display string in the reverse order using occurs clause?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to pass return codes from cobol to jcl?
what is sysncpoint?
COMP?