A paragraph PARA-X is to be executed when none of the data names
A, B and C have value of 1. Which of the following will
achieve this ?
(a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X
(B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X
(C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X
(C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
Answers were Sorted based on User's Feedback
Answer / vel
Answer is d. b is wrong as 'NOT' priority is Higher
than 'AND', 'NOT' will be assigned with A alone.
| Is This Answer Correct ? | 14 Yes | 0 No |
What is the maximum data length for Numeric DataType ?
how we rectify soc7 and soc4 errors in project?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
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?
what is the difference between Plan & package
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
What are the pertinent COBOL commands?
Write the syntax of a two dimensional array?
In COBOL "BEFORE" advancing is there or not ?
9(2).99 how many bytes take? Why . consider as a byte?
how can u redefine picx(10) with pic 9(6).
what are the limitations of Inline Perform?