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
Can we change the password using ALTER? anyone tried and changed?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is a SSRANGE and NOSSRANGE?
What is the difference between comp and comp-3?
What are the different data types in cobol?
what is difference between cobol and cobol/400
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.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how do you reference the fixed unblock file formats from cobol programs
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are the pertinent COBOL commands?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Define cobol?
What is amode(31)