Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be

Answer Posted / guest

x= x -20 it will give error

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

925


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

970


HOw can I get the negative sign while deduct high value from low value

1995


how to access the file from prodution from changeman tool and to submit a file to production

7053


When is inspect verb is used in cobol?

903


What is link edit in cobol?

933


What are the rules of the move verb?

930


State the various causes of s0c1, s0c5 and s0c7.

837


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

893


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2000


How to know whether the module is dynamical or statistical?

859


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

941


what is difference between cobol and cobol/400

22106


What is perform what is varying?

903


What is rmode(24)

890