Answer Posted / 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 |
Post New Answer View All Answers
Write a program to enter and display the names of students in a class using the occurs clause.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are literals?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are declaratives and what are their uses in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Mention the guidelines to write a structured cobol program?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What are the different data types in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what is the use of outrecord?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How can you get the ksds file records into your cobol program?
What is the utilization of copybook in cobol?