IBM MainFrame Interview Questions
Questions Answers Views Company eMail

Can a unique index have more than one null value? If not, what error code is given if an attempt is made to insert more than one null value?

3 6548

Is it possible to update a primary key value? If not, what is the error code given? If yes, can more than 1 primary key column be updated at a time?

8 24097

Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 3903

What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 25064

is it possible to pass an SQL query inside a jcl which is inside a cobol program?

CTS,

5 12366

INCLUDE is used ONLY on MVS/ESA Version 4 or higher systems to name an INCLUDE group. An INCLUDE group is a set of one or more valid JCL statements that are stored together in a JCLLIB data set or a system procedure library, and that are read in and used to replace the INCLUDE statement itself within the job. Any number of INCLUDE statements can be used in a job, but the name field value used on each should be unique within the job. The INCLUDE statements can appear in a job anywhere after the JOB statement, but may not appear between a CNTL and ENDCNTL JCL statement.

1874

can we create PS file using IDCAMS utility?

IBM,

3 12492

What is the difference between PS file and VSAM file?

IBM, Infosys, Verizon,

7 36651

What are all the ways we can create datasets?

IBM,

7 10327

Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.

1 3091

In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 6091

Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 5621

How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.

Target,

2 13547

How to search strings in multiple dataset with conditions 'string1 & string2'?

IBM,

1 14310

What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

Xansa,

3 5566


Un-Answered Questions { IBM MainFrame }

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?

517


What is auto status?

1139


What do you mean by commit and rollback?

588


State all the file open modes?

564


How do I copy a table in db2?

571






What is concurrency?

707


what is a corelated subquerry?

651


What is condition checking in jcl? Is this possible?

619


What are the 2 types of parameters in dd statement?

637


What r the comman abends in db2, jcl and cobol???????

1812


Explain how to build up lu 6.2 communication?

609


What is image copy in db2?

564


What is bms map?

657


Differentiate between ci split and ca split?

542


Can you explain control variable in online screens?

552