What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?

Answers were Sorted based on User's Feedback



What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?..

Answer / varun v

1) Move Spaces to Numeric field:

Here program would give compilation error saying Spaces
to Numeric integer did not follow the "MOVE" statement
compatibility rules.

2) Move Zeroes to Alphabetic field:

Would work fine with Movement of Zeroes to the
Alphabetic field.

Is This Answer Correct ?    4 Yes 5 No

What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?..

Answer / krishna chaitanya

soc7 may occur

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


If I want to increase the Limit in GDG. What should I do?

2 Answers   IBM,


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

0 Answers  


How do you get the data to code the BMS macro?

0 Answers   IBM,


what is the difference between external and global variables?

1 Answers  






When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these

6 Answers   Wipro,


01 b pic +9(4) How many bytes it will take for storage???

2 Answers  


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?

1 Answers  


Why would you use find and get rather than to obtain?

0 Answers  


should I use Go back in the main program ? Yes we can use Go back in main program as well.

2 Answers   Xansa,


subscript and index r not coded in u r application program what will happen?

2 Answers  


Categories