How To move a value to an array using move verb?
Answer Posted / chandrababu naidu
01 ARRAY.
02 ARRAY2 PIC 99 OCCURS 5 TIMES INDEXED BY I.
PROCEDURE DIVISION.
MOVE LOW-ELEMENT TO ARRAY2 [ I ].
or
MOVE HIGH-ELEMENT TO ARRAY.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How to print 10 to 1 if the input have only 10 digit number?
What are the different types of condition in cobol and write their forms.
What is the compute verb? How is it used?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Define cobol?
What is the use of intialize verb?
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
How do we get current date from system with century in COBOL?
Explain about different table spaces.
what are decleratives in cobol?
Have you used comp and comp-3 in your project? And how?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is amode(24)?
What is the Purpose of POINTER Phrase in STRING command in COBOL?