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


Please Help Members By Posting Answers For Below Questions

How you can characterize tables in cobol?

706


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

724


Are you comfortable in cobol or jcl?

632


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.

5652


Why did you choose to work with ibm mainframe cobol programming?

620






What is the utilization of copybook in cobol?

646


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

2083


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

701


How do get the result of your program directly on your pc?

1870


What is the compute verb? How is it used?

649


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

677


How do you reference the following file formats from cobol programs?

687


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8591


How you can read the file from bottom?

650


How do define dynamic array in cobol.

659