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


Please Help Members By Posting Answers For Below Questions

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10572


Differentiate between structured cobol programming and object-oriented cobol programming.

663


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


What are the cobol coding sheets?

657


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052






Explain how you can characterize tables in cobol?

636


how do you reference the variable block file formats from cobol programs

680


What is the compute verb? How is it used?

653


how do you reference the fixed unblock file formats from cobol programs

702


how to access the file from prodution from changeman tool and to submit a file to production

6678


Discuss about changing dataset name in proc.

757


In which area will you utilize 88 level items in cobol?

712


how to convert the recors form vsam file to db2 table tru file aid

2757


What is the difference between PIC 9.99 and 9v99 in COBOL?

729


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

769