IBM MainFrame Interview Questions
Questions Answers Views Company eMail

How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

HCL,

2708

In the house keeping section of an MVS assembly language program, like the one below STM R14,R12,12(R13) BASR R12,R0 USING *,R12,R11 LA R11,2048 LA R11,2048(R11,R12) .... .... 1. What if BASR R12,R0 IS NOT PRECEDE USING *,R12,R11? 2. USING (base address), REGISTER does USING directive says assembler to treat particular Register as a base register with the mentioned base address..in the above case * i.e current location counter..well if that is the case why we need BASR R12,R0 ? 3. What if I write like STM R14,R12,12(R13) BASR R12,R0 LA R11,2048 LA R11,2048(R11,R12) USING *,R12,R11 there is no address resolution being calculated in both LA statements so is it a right way to set Base register?..will there be any issues with Domain regarding R11 and R12?

1514

What does LA R3,R3 ?

Amdocs,

1 2392

What is SQL Code -904 and -903 in DB2 And how to handle it?

IBM,

1 6002

Why we should use cursor ?

3 2941

I know my query will return more than one row but I don't want cursor what should I do?

1 2550

How can you get the number of rows impacted by the last executed query?

1 2001

While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?

JPMorgan Chase,

1800

How to fetch the uncommited data from table ?

JPMorgan Chase,

1 2732

Difference between Find and Read operation in ADABAS file.

Cognizant,

1 4214

I am having n number of records in a table which consists of emp-name is one of the field among them. Now i want to change the first letter of every name with capital.

Cap Gemini,

1 1730

assume ther are 5000 records in a database and want to fetch using cursor. cursor fetches only 3000 records and fetch is not happening for remaining 2000 records. why it happens and how to rectify it

TCS,

1 2458

in db2, already 10 columns arie der, and i want to insert 11th column. what parameters u wil consider for insertion and how will u insert

TCS,

1 2441

I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1331

How to override loadlib?

Fiserv,

1406


Un-Answered Questions { IBM MainFrame }

what optimum values can we find for freespace, ci etc?

588


What is the function of currentdata option in bind?

555


What is the maximum size of a char data type in db2?

578


what is a base cluster in vsam?

650


Explain the maximum number of segment types allowed for a single database?

1785






What is a transid?

560


What is Cataloged Procedures?

696


Which is faster delete or truncate?

663


What is ibm db2 client?

512


Explain paging concept in memory?

587


What are IDMS set of occurances?

979


What is mainframe computer /system?

578


What are iseries servers?

554


What is the purpose of control intervals in vsam?

509


what is the compile process of cobol program expalin with code

1988