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 is the difference between goback, stop run and exit program in cobol?

932


What are the cobol coding sheets?

666


What rules are to be followed while using the corresponding options?

643


Explain how to differentiate call by context by comparing it to other calls?

689


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065






i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1775


What rules are followed by the search verb.

638


When is inspect verb is used in cobol?

679


Have you used comp and comp-3 in your project? And how?

2012


Name some of the examples of COBOl 11?

2688


i want a program using by if, evaluate , string, unstring, perform, occurs?

4067


Difference between cobol and cobol-ii?

715


Explain how you can characterize tables in cobol?

644


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

6689


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1658