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 rmode(24)
How can you display the SPOOL information ?
Whats the difference between search & search ALL?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
How to read the last 100 records from a COBOL file. The file contains N number of records.
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
) How do u handle errors in BMS macro?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
) what is the difference between AID and HANDLE AID?
which is better either static call or dynamic call? and why?
Write the syntax of a two dimensional array?