Answer Posted / b.rajesh
Number of occurrences of an element is known as subscript.
For storing of data we use the concept of SUBSCRIPT.
EX:-
WORKING-STORAGE SECTION.
01 section
02 marks pic 9(2) occurs 3 times.
77 I pic p(1).
PROCEDURE DIVISION.
move 1 to I.
perform until I > 3
accept marks(I)
add 1 to I
end-perform.
Here we declare the marks(I) : I is called as subscript.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is comp-1 and comp-2?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Explain how to differentiate call by context by comparing it to other calls?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what are decleratives in cobol?
What are the various section in data division and briefly explain them.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What do you understand by psb and acb?
What is the difference between comp and comp-3?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What rules are followed by the search verb.