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
Write a cobol program making use of the redefine clause.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Give some examples of command terminators?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Which is not true about evaluate statement
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
what is the use of outrecord?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Write a program that uses move corresponding.
What is the difference between perform … with test after and perform … with test before?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are the different rules to perform a Search?
What is amode(31)
What is the default value(s) for an initialize? What keyword will allow for an override of the default?