01 a pic x(6) value is abcdef
01 b pic x(3)
move a to b wht will be the value in b ?

Answers were Sorted based on User's Feedback



01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?..

Answer / ravi

abc

Is This Answer Correct ?    21 Yes 0 No

01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?..

Answer / prasanna

b value is abc

Is This Answer Correct ?    7 Yes 0 No

01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?..

Answer / kiran

abc

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

How to retain the Duplicates in the one records?

3 Answers   CS,


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


how do you reference the rrds file formats from cobol programs

0 Answers  


Name the divisions, which are available in a cobol program?

0 Answers  


which is better comp or comp-3 in terms of memory utilization?

6 Answers  






How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 Answers  


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

0 Answers  


comp-3 field occupy?

5 Answers  


How will you find the currepted records in a file

2 Answers  


Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 Answers  


What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?

8 Answers   Arigo Infotech, IBM,


how do you reference the printer file formats from cobol programs

0 Answers  


Categories