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 / siba
In 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 ? | 14 Yes | 2 No |
Post New Answer View All Answers
What is the difference between next sentence and continue in cobol programing language?
Differentiate between structured cobol programming and object-oriented cobol programming.
In COBOL programming, what is PERFORM? What is VARYING?
what happens if parmparameter passes zero bytes to the program
What is the difference between structured cobol programming and object alternativelyiented cobol?
how to refer the data field?
explain sorting techniques in cobol program?
How do u write test cases?
In which area will you utilize 88 level items in cobol?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are the various section in data division and briefly explain them.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Explain what you understand by passing by value.
Can we change the password using ALTER? anyone tried and changed?
Name some of the examples of COBOl 11?