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 are some examples of command terminators?
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
period is missing in the cobol program which error we getting
How do you reference the fixed block file formats from cobol programs
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
how to pass 100 to s9(4) how r they inserted ?
How include time & date in the report generation in cobol programing?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
What are different file OPEN modes available in COBOL?
why we are using set in searchall?