If i have a variable
A pic 9(2) value 10
Compute A = a - 100

what will be the value of A and will there be any error
becoz of the Negative value

Answer Posted / chandrakant sinha

90 will be the output
No error will be generated.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol?

749


What is the LINKAGE SECTION used in COBOL?

885


What is the usage of comp fields in cobol?

651


Write a program to explain size error.

669


What is amode(24)?

680






What is rmode(24)

676


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

663


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

928


what happens if parmparameter passes zero bytes to the program

1659


How many sections are there in data division in COBOL?

676


what is difference between cobol and cobol/400

21556


Define static linking and dynamic linking.

658


What are the pertinent COBOL commands?

2619


What are literals?

626


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

635