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
What is amode(24)?
) How do u handle errors in BMS macro?
In which area will you utilize 88 level items in cobol?
Are you comfortable in cobol or jcl?
What is the difference between comp and comp-3?
How arrays can be defined in COBOL?
What is the difference between comp and comp-3 usage?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Name the sections present in data division.
How do you define a variable of comp-1 and comp-2?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
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?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
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.