if a pic 9(3) value 354,b pic x(2) value '46' then
a)a>b
2)a<b
3)error
Answer Posted / seema dawlekar
As picture clause for variable b is x(2), which means that
it can accept both numeric and characters of length 2, but
the care we should take here is that we should enclose them
in the single quotes, therefore to my expectation option b
is write.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
) How do u handle errors in BMS macro
In COBOL, what is the different between index and subscript?
example for sub strings ? and refernce modifications whit output pls
how do you reference the rrds file formats from cobol programs
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Which division and paragraphs are mandatory for a COBOL program?
What are all the divisions of a COBOL program?
How do u write test cases?
In which area will you utilize 88 level items in cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Describe the cobol database components?
What are the rules of the move verb?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
A table has two indexes defined. Which one will be used by the SEARCH?
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?