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
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 ......
Differentiate between structured cobol programming and object-oriented cobol programming.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are the cobol coding sheets?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Explain how you can characterize tables in cobol?
how do you reference the variable block file formats from cobol programs
What is the compute verb? How is it used?
how do you reference the fixed unblock file formats from cobol programs
how to access the file from prodution from changeman tool and to submit a file to production
Discuss about changing dataset name in proc.
In which area will you utilize 88 level items in cobol?
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between PIC 9.99 and 9v99 in COBOL?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?