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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are declaratives and what are their uses in cobol?

704


What the difference is between continue and next sentence?

651


What is the difference between Global and External Variables?

658


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

670


how do you define single dimensional array and multidimensional array in your cobol?

667






example for sub strings ? and refernce modifications whit output pls

1841


What rules are followed by the search verb.

631


Name some of the examples of COBOl 11?

2676


What is the difference between external and global variables in COBOL?

809


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

622


Write a program to enter and display the names of students in a class using the occurs clause.

647


What is redefines clause in COBOL?

844


Write the code implementing the perform … varying.

639


Which mode is used to operate the sequential file?

658


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2099