IBM MainFrame Interview Questions
Questions Answers Views Company eMail

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 7498

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 30374

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 8661

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

4 7637

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 12517

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 8167

i Want All cobol ERROR codes?

HCL, IBM,

4 14880

I want ALL jcl ERROR cods

1 9700

I want ALL ERROR codes in VSAM

American Express, TCS,

3 32984

i WANT ALL ERROR codes IN CICS and DB2

2 6726

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

Infosys,

4 12846

In the procedure division stmt OPEN OUTPUT FILE1. Which of the following is not true about file1. a) there must be a select clause for this file in the file-control paragraph of environment division. b) There must be an FD entry in the file section of the data division. c) The file name must appear in a WRITE stmt in the procedure division. d) There?ll be a CLOSE stmt in procedure division.

Accenture,

2 6173

pic S9(4) results 3 bytes1 A) comp B) comp1 C) display D) comp3

Accenture,

2 8176

Redefines clause cannot be used in a) working-storage section b) 77 c) 66 d) elementary

Accenture,

3 9166

88 level entry is for

Accenture, Cognizant, EDS, Wipro,

7 11919


Un-Answered Questions { IBM MainFrame }

What do you understand by jcl?

631


What is the contrast between delimited by space and delimited by size?

542


how can you copy to a vsam cluster?

627


Define base cluster?

573


What is package in db2 mainframe?

559






How does jcl act on code(if you take a cobol program)?

711


What is collection in db2 bind?

577


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


What is the function of the steplib dd statement?

744


What is the cobol picture clause of the db2 data types date, time, timestamp?

620


how do you code a null statement?

780


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1589


How to take backup of table in db2?

601


Describe the various parameters utilized in the creation of a gdg?

686


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

653