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,

2686

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?

1508

What does LA R3,R3 ?

Amdocs,

1 2378

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

IBM,

1 5971

Why we should use cursor ?

3 2913

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

1 2520

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

1 1966

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,

1792

How to fetch the uncommited data from table ?

JPMorgan Chase,

1 2702

Difference between Find and Read operation in ADABAS file.

Cognizant,

1 4181

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 1698

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 2437

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 2414

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

1319

How to override loadlib?

Fiserv,

1395


Un-Answered Questions { IBM MainFrame }

how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1623


Discuss some of the terminology of idms.

482


Explain the three location modes?

484


What is the use of tdq and tsq?

577


define clustering index.

601






Using alternate indexes in batch program?

563


what is the meaning of dynamic processing in vsam?

567


what is the meaning of ssrange and nossrange?

574


there are seven idcams commands in vsam. Can you name and explain each of them?

623


Where can you declare a cursor in a cobol-db2 program?

577


What is a transid?

551


What is length is cobol?

628


What is the difference between ooRexx and IBM's Object REXX for Windows?

522


Explain the difference between a symbolic map and physical map?

551


Define declaration generator (dclgen).

648