Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

COBOL Interview Questions
Questions Answers Views Company eMail

COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

TCS,

1 4627

OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49

TCS,

13 12404

Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

TCS,

7 9744

Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

TCS,

12 12132

given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

TCS,

2 6197

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

Huawei, IBM, TCS,

10 26059

The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above

TCS,

3 7036

Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

4 5798

Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

TCS,

7 9699

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible

TCS,

7 6031

i Want All cobol ERROR codes?

HCL, IBM,

4 12374

I want ALL jcl ERROR cods

1 8818

I want ALL ERROR codes in VSAM

American Express, TCS,

3 31133

i WANT ALL ERROR codes IN CICS and DB2

2 5638

i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS

Infosys,

4 10064


Post New COBOL Questions






Un-Answered Questions { COBOL }

What is rmode(any) ?

206


What is static and dynamic call in cobol?

147


What kind of error is trapped by on size error option?

208


How do you reference the following file formats from cobol programs?

205


How are the next sentence and continue different from each other?

227






what is difference between cobol and cobol/400

19683


What is the difference between comp and comp-3 usage?

214


how do you reference the ksds vsam file formats from cobol programs

216


What are options have been removed in COBOL 11?

1508


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

1615


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

222


) How do u handle errors in BMS macro?

966


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

1494


What is perform what is varying?

222


what happens if parmparameter passes zero bytes to the program

1150