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
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are the access modes of START statement?
how to access the file from prodution from changeman tool and to submit a file to production
How many sections are there in data division in COBOL?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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
Write a program to explain size error.
How are the next sentence and continue different from each other?
Mention the guidelines to write a structured cobol program?
What is a SSRANGE and NOSSRANGE?
How do you differentiate between cobol and cobol-ii?
Write down the divisions of cobol program?
How many bytes S(8) comp field occupy and its maximum value?