01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b

wht will be the value ? and

01 a pic x(6) value is abc
01 b pic x(3)
move a to b

wht will be the value ?

Answer Posted / pradip

1.
000123

2.
abc---

Well arthi, here - stands for blank space, correct me if am
wrong

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you comfortable in cobol or jcl?

717


Define static linking and dynamic linking.

765


Write the code implementing the perform … varying.

722


IF I mention stop run in CICS what happens?

1986


What is static and dynamic call in cobol?

677






What are the different data types in cobol?

902


Write down the divisions of cobol program?

750


how do you reference the esds vsam file formats from cobol programs

733


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

755


how do you reference the printer file formats from cobol programs

764


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2032


how to move the records from file to array table. give with code example

2314


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

728


How you can characterize tables in cobol?

817


How to print 10 to 1 if the input have only 10 digit number?

918