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 / jaganmohanreddy
HAI ALL U R WRITING DIFFERENT ANSWERS BUT THEY ARE ASKING
FOR YYY VALUE IT WONT BE CHANGED IT HAS VALUE OF 123456
BECAUSE ITS PIC CLAUSE IS 9(6) OK THEN DISPLAY YYY IT WIL
DISPLAY 123456 OK ANY DOUBTS
| Is This Answer Correct ? | 55 Yes | 3 No |
Post New Answer View All Answers
i need a small 3d program using inline and outline.
How arrays can be defined in COBOL?
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.
) How do u handle errors in BMS macro
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
) How do u handle errors in BMS macro?
What is report-item in COBOL?
how can i see junk values in dclgen or in hostvariable of comp ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
) how do u code after getting data?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are different data types in cobol?
How do you reference the fixed block file formats from cobol programs
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do define dynamic array in cobol.