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
In which area will you utilize 88 level items in cobol?
What is redefines clause in COBOL?
What is inspect in cobol ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are all the divisions of a COBOL program?
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?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
For rewrite, why is it mandatory that file needs to be opened?
Explain what you understand by passing by value.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
how to move the records from file to array table. give with code example
What are different data types in cobol?
Which division and paragraphs are mandatory for a COBOL program?
Define static linking and dynamic linking.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue