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


Please Help Members By Posting Answers For Below Questions

What is the difference between next sentence and continue in cobol programing language?

718


Differentiate between structured cobol programming and object-oriented cobol programming.

675


In COBOL programming, what is PERFORM? What is VARYING?

676


what happens if parmparameter passes zero bytes to the program

1673


What is the difference between structured cobol programming and object alternativelyiented cobol?

765






how to refer the data field?

1816


explain sorting techniques in cobol program?

694


How do u write test cases?

1644


In which area will you utilize 88 level items in cobol?

732


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

2117


What are the various section in data division and briefly explain them.

710


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

837


Explain what you understand by passing by value.

712


Can we change the password using ALTER? anyone tried and changed?

1556


Name some of the examples of COBOl 11?

2691