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

Answer Posted / prabhu shankar

If u see the level number itself u can able to say that it
will show error. Because PIC will have the level number 77
and not like 01,02,03.


So it show the error only.Wll not exucute.

I think so. If any wrong plz apologise me.

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

714


How many bytes S(8) comp field occupy and its maximum value?

1638


What is the compute verb? How is it used?

666


What are various search techniques in cobol? Explain.

650


What is inspect in cobol ?

806






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

711


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

671


i need a small 3d program using inline and outline.

1642


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


What is the difference between comp and comp-3 usage?

681


What is an in line perform? When would you use it? Anything else you wish to say about it.

649


Are you comfortable in cobol or jcl?

643


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1000


What are literals?

634