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 / praveen

Arati was correct. if you move x(6) varibale to x(3) there
will not be any blank spaces.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

1986


How arrays can be defined in COBOL?

741


How do define dynamic array in cobol.

770


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7073


When is inspect verb is used in cobol?

791






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

750


What is a SSRANGE and NOSSRANGE?

958


How do u write test cases?

1717


What are the different rules to perform a Search?

701


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

768


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

830


Which division and paragraphs are mandatory for a COBOL program?

792


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2165


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

809


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

720