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

how to code in cobol while using variable block file?

1 Answers  


wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

5 Answers   iGate,


IF I mention stop run in CICS what happens?

0 Answers   IBM,


I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?

1 Answers  


How is sign stored in a comp-3 field?

7 Answers  


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


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

0 Answers  


if a file has 1000 recods how copy the records from 1 to 100 records using sort

4 Answers   IBM,


What was removed from COBOL in the COBOL II implementation?

0 Answers  


What is EIBCALEN? Why it is used?

9 Answers   ADP,


consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

5 Answers   TCS,


I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?

6 Answers   IBM,


Categories