IBM MainFrame Interview Questions
Questions Answers Views Company eMail

I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

Bank Of America,

5 11516

I have a File that has duplicate records. I need only those records that occur more than thrice.

3 12397

Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 8415

Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 25001

Can comments be specified at the very beginning of a jobcard? Will the JCL execute?

3 6748

How to display the index.(displacement from an array)

IBM,

4 15498

How to define the a field which accepts value till 99999.99 in db2

3 7435

1) What is ONCODE (Return code) in PL/1? 2) How to handle the ONCODE in PL/1? Please give me some examples?

IBM,

1 7050

How many steps we can overide in the proc's?

CS,

2 6095

How to retain the Duplicates in the one records?

CS,

3 8353

Hi, I want to create alternate index on VSAM file.my file structure is ex: RoomID pic x(7) R000001 Floor pic a((6) First RoomNo pic x(2) FA1 Occupied(yes/no) pic a(3) Yes Occupied Batch pic x(10). Maths i want to create alternate index on floor,roomno fields.can i create alternate index on both the fields.and tell me how to create.

1 5500

How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01

2 9463

How to overide the symbol parameter in the jcl ?

UST,

3 8780

I have three files for one step i need to override the third file how to do that in jcl?

UST,

1 8186

How to retrive the 9th records out of ten records using the cobol program ?

UST,

3 8709


Un-Answered Questions { IBM MainFrame }

before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1698


Which command can you use to check for the number of records in a physical file?

989


How can you count the number of rows from a table tab?

623


what are the thress bms options?

674


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

959






if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

841


What is find and read operation in adabas file?

470


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

758


What are foreign keys in db2?

607


What is release/acquire in bind?

639


what is eib, how is can be used?

635


Can I redefine an x(100) field with a field of x(200)?

517


What is a cursor in programming?

581


How is record management performed in vsam?

575


If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?

1978