How To move a value to an array using move verb?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / srinivas yadav
MOVE VARIABLE TO ARRAY-ELEMENT.
EX: MOVE A TO WS-ARRAY.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pak
move VALUE to array_name(index/subscript)
where VALUE is the data to be input in array.
if the array is indexed use,index or else subscript
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the Importance of GLOBAL clause According to new standards of COBOL?
What is inspect in cobol ?
Difference between next and continue clause
Explain what you understand by passing by value.
what is internal sort and external sort ? which is preferable ?
A s9(4). B v9(4) value 0.21 can i move this?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
how can u redefine picx(10) with pic 9(6).
what are the utilities for load and unload the DB2 tables
what is label record is standard or omitted in file description of data division?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?