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
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
In COBOL, what is the different between index and subscript?
What rules are to be followed while using the corresponding options?
i need a small 3d program using inline and outline.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Can a Search can be done on a table with or without Index?
What is perform what is varying?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What type of SDLC u followed? Why?
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 ......
How do define dynamic array in cobol.
What is comp-1 and comp-2?
What are all the divisions of a COBOL program?