Can we move SPACES to numeric field and ZEROES to
alphabetic field? If yes what are the way doing this?

Answer Posted / chakri

Sriram we can move numeric data items to alphanumeric data
items and vice versa. But when we do arithmetic operations
then only it will throw error if we move alphanumeric data
items to numeric items.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between static and dynamic call in cobol?

777


What is the difference between next sentence and continue in cobol programing language?

708


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

676


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

823


Which Search verb is equivalent to PERFORM…VARYING?

685






What are different data types in cobol?

689


How to print 10 to 1 if the input have only 10 digit number?

811


How do u write test cases?

1635


what is difference between cobol and cobol/400

21563


What is the default value(s) for an initialize and what keyword allows for an override of the default?

695


What is the LINKAGE SECTION used in COBOL?

889


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

718


What is static and dynamic call in cobol?

594


How do you reference the following file formats from cobol programs?

693


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

732