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 |
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......
why we are using set in searchall?
How do you code Cobol to access a parameter that has been defined in JCL?
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
can we use 77 level no for Redefines?if we use give an example?
What are ISOLATION LEVELS? Where do we need to specify them?
what is the difference between Plan & package
What compiler option would you use for dynamic linking?
How to covert given string into ASCII value in COBOL/MF COBOL