Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
Answer Posted / swappy
Answer #3 is correct. Since there is no sign clause it will
just ignore the -ve sign and resultant will be 10.
Also Prabhu, there is no problem with the level no. There
will not be any error due to the level no.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain about different table spaces.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the difference between comp and comp-3?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How you can characterize tables in cobol?
Why occurs cannot be used in 01 level in COBOL?
Why would you use find and get rather than to obtain?
In COBOL, what is the different between index and subscript?
Write a program to explain size error.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
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.
How do get the result of your program directly on your pc?
What is a scope terminator give example?
Write a program to enter and display the names of students in a class using the occurs clause.