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

example for sub strings ? and refernce modifications whit output pls

1843


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

769


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

817


how do you reference the esds vsam file formats from cobol programs

627


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2656






How do you get the data to code the BMS macro?

1472


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5673


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

700


what is amode(24), amode(31), rmode(24) and rmode(any)?

691


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1776


What is the difference between PIC 9.99 and PIC9v99?

771


What is the difference between Global and External Variables?

660


Write a program to explain size error.

669


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2052


What is link edit in cobol?

751