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
What is redefines clause in COBOL?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are the different rules for performing sort operation?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
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
Describe the cobol database components?
Can we change the password using ALTER? anyone tried and changed?
What are literals?
What is comp-1 and comp-2?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between goback, stop run and exit program in cobol?
What is link edit in cobol?
how do you reference the esds vsam file formats from cobol programs
Write the code implementing the perform … varying.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad