if a pic 9(3) value 354,b pic x(2) value '46' then
a)a>b
2)a<b
3)error
Answer Posted / piyush mani
i think it will create an error bcoz we can't compare numeric variable to non-numeric variable.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How you can characterize tables in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Are you comfortable in cobol or jcl?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Why did you choose to work with ibm mainframe cobol programming?
What is the utilization of copybook in cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How do get the result of your program directly on your pc?
What is the compute verb? How is it used?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do you reference the following file formats from cobol programs?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How you can read the file from bottom?
How do define dynamic array in cobol.