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

i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

0 Answers  


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


How many bytes S(8) comp field occupy and its maximum value?

0 Answers  


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,






how you will define variables length in cobol.

3 Answers   Temenos,


When and how can we use index & subscript ?

2 Answers  


i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.

9 Answers   Syntel,


How do u write test cases?

0 Answers   IBM,


What is length is cobol?

0 Answers  


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


What is the linkage section?

4 Answers  


Categories