IBM MainFrame Interview Questions
Questions Answers Views Company eMail

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 am going to Display the WS-VARX and WS- VARN?

Xansa,

6 8696

My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 6474

When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these

Wipro,

6 11334

Suppose if I need to update a column, how you do that using cursor?

Verizon,

2 7010

Suppose the outcome of executing a query results in a row having null. Based on the answer how you use it? Its declaration and inclusion?

Verizon,

2 5289

i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

CTS,

7 40952

What is COUNTERS in PL/1? How to assign the COUNTER variables? WHich Data Type it can be used for this?

Verizon,

2 5647

How to compile PL/1 DB2 program? Please provide me details on this process?

SPIC, Verizon,

1 8260

what is the difference between Normal vaiable and comp variable.

DELL,

5 11999

A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?

9 12270

Is it possible to declare a GDA for an external subroutine?

4 10142

How to read the last 100 records from a COBOL file. The file contains N number of records.

IBM,

11 36644

For unmatched rows returned from an outer join, the column values in the other table are set to null e.g If A OUTER JOIN B returns some unmatched rows from A, the corresponding column values in B will be set to null. What can be done so that a null value is not displayed for these columns?

3 5365

What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?

IBM,

4 14798

How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)

Bank Of America,

9 31518


Un-Answered Questions { IBM MainFrame }

What is a Foreign Key?

651


What is the purpose of having vsam data space?

524


In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?

984


what is the JCL statement consists of?

693


What is db2 instance?

588






Explain adabas basic concepts. Like inverted list, address converter ,data storage?

551


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

714


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

619


What is the difference between Call and a Link?

692


What is an area sweep and when is it used?

1075


What is an ook-rec in idms?

482


Define primary objective of cics?

560


Can you explain exec cics handle condition command?

574


Explain how you can characterize tables in cobol?

634


How and when does the db2 enforces the unique key?

610