How To move a value to an array using move verb?
Answer Posted / srinivas yadav
MOVE VARIABLE TO ARRAY-ELEMENT.
EX: MOVE A TO WS-ARRAY.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How you can read the file from bottom?
how do you reference the variable block file formats from cobol programs
What is the difference between binary search and sequential search?
what happens if parmparameter passes zero bytes to the program
Write down the divisions of cobol program?
What are the rules of the move verb?
) How do u handle errors in BMS macro?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
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 is the utilization of copybook in cobol? Could we utilize a similar copybook?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
what is difference between cobol and cobol/400