is it possible to declare index in cobol program?
if it is not why its tell me pls
Answer Posted / amjith pillai
No need to 'Declare' Index in working Storage section.since
Index is internally represented by 'Index Register' which
is Full-Word binary.
Yes, you can directly mention Index in Occurs clause and
can increment and re-positioning the index variable
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Have you used comp and comp-3 in your project? And how?
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?
Whats the difference between search & search ALL?
Give some examples of command terminators?
what is search and searchall?what is the diffrence between them?give an best example?
What is the utilization of copybook in cobol?
how to refer the data field?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Discuss about changing dataset name in proc.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Explain what you understand by passing by value.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Differentiate between structured cobol programming and object-oriented cobol programming.