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
Which is not true about evaluate statement
What is the difference between comp and comp-3 usage?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how can i see junk values in dclgen or in hostvariable of comp ?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the difference between next sentence and continue in cobol programing language?
i need a small 3d program using inline and outline.
how to move the records from file to array table. give with code example
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.
What is the difference between binary search and sequential search?
What is the LINKAGE SECTION used in COBOL?
Why occurs cannot be used in 01 level in COBOL?
For rewrite, why is it mandatory that file needs to be opened?