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 7508

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 30380

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 8664

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

4 7640

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 12528

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 8174

i Want All cobol ERROR codes?

HCL, IBM,

4 14882

I want ALL jcl ERROR cods

1 9700

I want ALL ERROR codes in VSAM

American Express, TCS,

3 32991

i WANT ALL ERROR codes IN CICS and DB2

2 6726

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

Infosys,

4 12850

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 6185

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 9169

88 level entry is for

Accenture, Cognizant, EDS, Wipro,

7 11921


Un-Answered Questions { IBM MainFrame }

Explain dbdgen process?

644


what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?

523


What is the difference between Call and a Link?

702


How is record management performed in vsam?

595


What is role in db2?

622






What are the 2 sqlcodes that are returned?

645


Why is master catalog used in vsam?

579


What is a bind in idms?

452


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

766


Tell me what type of files we can process thru file-aid?

538


Can you use occurs in bms map?

617


What is the main function of linear dataset?

563


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

750


Explain how can a jobs execution priority be modified?

745


Is db2 a programming language?

608