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
Discuss about changing dataset name in proc.
Write the code to count the sum of n natural numbers.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the use of intialize verb?
What are declaratives and what are their uses in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the difference between perform … with test after and perform … with test before?
What is the local-storage section?
Can we redefine the field of x(200) to less than 200?
Define cobol?
What are the different open modes available in cobol?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
what is search and searchall?what is the diffrence between them?give an best example?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?