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 6589

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 24137

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 3932

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

7 25114

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

CTS,

5 12409

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.

1876

can we create PS file using IDCAMS utility?

IBM,

3 12546

What is the difference between PS file and VSAM file?

IBM, Infosys, Verizon,

7 36718

What are all the ways we can create datasets?

IBM,

7 10361

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 3099

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 6146

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 5662

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 13563

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

IBM,

1 14319

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 5604


Un-Answered Questions { IBM MainFrame }

If we say that bms length of field = 0, then what does that mean?

734


What is database descriptor?

577


What is dpf in db2?

666


Explain the hierarchy levels in jcl?

1120


how to pass the parameters from jcl to assembler pgm?

657






What is a ca split?

600


Define pcb?

652


Give the definition of COMMAREA ?

625


Write in brief about clusters?

562


what is the use of the file status clause in the select statement in vsam?

570


What is dbrm in db2 database?

591


Comment whether the cursor is closed during commit or not.

674


Why select is not preferred in embedded sql programs?

715


Can you explain multitasking and multithreading?

695


What is find and read operation in adabas file?

492