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
What is comp-1 and comp-2?
how to convert the recors form vsam file to db2 table tru file aid
Write a cobol program making use of the redefine clause.
What is the difference between comp and comp-3 usage?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is Pic 9v99 Indicates in COBOL?
how do you reference the fixed unblock file formats from cobol programs
) what is the difference between AID and HANDLE AID?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the problem of ordered sequential files access?
What is the difference between perform … with test after and perform … with test before?
A table has two indexes defined. Which one will be used by the SEARCH?
how do you reference the rrds file formats from cobol programs
What is the difference between external and global variables in COBOL?
Name some of the examples of COBOl 11?