What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / thavasi
all above answers are incorrect.
Move SPACES to numeric field:
=============================
Moving spaces/non-numeric to numeric won't give any
compilation error or S0C7.
S0C will occur only when u do computation with non-numeric data.
ZERO to alphabetic field:
========================
MOVing ZEROS to alphabetic - will result in compilation error.
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
Name the sections present in data division.
Why would you use find and get rather than to obtain?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
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
What is difference between static and dynamic call in cobol?
How many bytes S(8) comp field occupy and its maximum value?
how to refer the data field?
Difference between cobol and cobol-ii?
How can you get the ksds file records into your cobol program?
Which is not true about evaluate statement
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Write a program that uses move corresponding.
Write a program to explain size error.
Can we redefine the field of x(200) to less than 200?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?