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
IF I mention stop run in CICS what happens?
How arrays can be defined in COBOL?
How do define dynamic array in cobol.
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?
When is inspect verb is used in cobol?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is a SSRANGE and NOSSRANGE?
How do u write test cases?
What are the different rules to perform a Search?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Which division and paragraphs are mandatory for a COBOL program?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
In which area will you utilize 88 level items in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?