How To move a value to an array using move verb?

Answer Posted / suresh ramaiyan

one correction in Jagan's answer..

MOVE 1 to A(I)

we should not use [] for array in cobol.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1703


Give some examples of command terminators?

759


What do you understand by psb and acb?

668


Can we change the password using ALTER? anyone tried and changed?

1550


Name the sections present in data division.

701






How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


What are the different open modes available in cobol?

722


What guidelines should be followed to write a structured cobol prgm?

673


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


Which is not true about evaluate statement

1595


Describe the cobol database components?

682


how to convert the recors form vsam file to db2 table tru file aid

2763


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10633


Why would you use find and get rather than to obtain?

692


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720