01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.

Answer Posted / manish shelke

YES, we can move . But the a will contained only ABC and D
will get truncated

Is This Answer Correct ?    5 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


Mention the guidelines to write a structured cobol program?

620


What is rmode(24)

680


What are the pertinent COBOL commands?

2626


) How do u handle errors in BMS macro

1510






How do u write test cases?

1638


Explain about different table spaces.

650


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)?

631


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

2219


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

676


What are different data types in cobol?

689


what is the use of outrecord?

1771


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1960


how can i see junk values in dclgen or in hostvariable of comp ?

2544


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

755