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 |
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
how do you define single dimensional array and multidimensional array in your cobol?
i WANT ALL ERROR codes IN CICS and DB2
A s9(4). B v9(4) value 0.21 can i move this?
What the difference is between continue and next sentence?
which is better either static call or dynamic call? and why?
perform I from 0 by 1 until I=5?How maney times it will executes
give the examples for strings and unstrings in cobol
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
where do u use low-value and high value in cobol
what is jcl approach for programming?