if a pic 9(3) value 354,b pic x(2) value '46' then
a)a>b
2)a<b
3)error
Answer Posted / billyboyo
IBM Cobol will do an alphanumeric comparison because one of
the fields is PICTURE X. "354" will be compared to "45" and
be found to be lower. Answer b) is correct.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
For rewrite, why is it mandatory that file needs to be opened?
Which division and paragraphs are mandatory for a COBOL program?
In which area will you utilize 88 level items in cobol?
how do you reference the rrds file formats from cobol programs
how do you reference the fixed unblock file formats from cobol programs
What is a report item?
What is amode(31)
How can you get the ksds file records into your cobol program?
How do you differentiate between cobol and cobol-ii?
How do you define a variable of comp-1 and comp-2?
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 do you reference the variable block file formats from cobol programs
What kind of error is trapped by on size error option?