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 / gangadhara.m
numeric number alingment is right to left
truncation is done in left side
the datatype size of y is 6
so value of y is 123456
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between binary search and sequential search?
What are the different rules to perform a Search?
What is perform what is varying?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Explain the configuration section of a cobol program with examples of syntax.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How do we get current date from system with century in COBOL?
How do get the result of your program directly on your pc?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the usage of comp fields in cobol?
What is redefines clause in COBOL?
How many sections are there in data division in COBOL?
How to know whether the module is dynamical or statistical?
Write down the divisions of cobol program?