01 xxx pic 9(4).
01 yyy pic 9(6).
move 123456 into yyy.
move yyy to xxx.
display yyy.
what would be the value of yyy
Answer Posted / nagarajeswari
output will be 3456
| Is This Answer Correct ? | 9 Yes | 16 No |
Post New Answer View All Answers
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is length is cobol?
Explain how you can characterize tables in cobol?
how to move the records from file to array table. give with code example
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What kind of error is trapped by on size error option?
What is the compute verb? How is it used?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you differentiate between cobol and cobol-ii?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is comp-1 and comp-2?
what is the use of outrecord?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the difference between binary search and sequential search?