Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
Answer Posted / madhu
x=x-20 will be -10
Since there is a -ve sign in the beginning it'll be stored
on top of the last digit. So -0 = }.
Then ans will be 1}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Can a Search can be done on a table with or without Index?
In COBOL, what is the different between index and subscript?
What are the different open modes available in cobol?
What is report-item in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
how do you reference the variable unblock file formats from cobol programs
how do you reference the fixed unblock file formats from cobol programs
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the compute verb? How is it used?
What are literals?
What are 77 levels used for?
Have you used comp and comp-3 in your project? And how?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is a SSRANGE and NOSSRANGE?