IBM Assembler Interview Questions

 
1.
Explain ICM instruction?
2.
Can we use an equated value as operand for an MVC instruction? Reason for the same?
3.
How to retrieve the instream data in SYSIN?
4.
How to Pass the parameters from JCL to assembler Pgm?
5.
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
6.
Why do we have multiple base registers in certain programs?
7.
What is the difference in data type "X" and "P"?
8.
Why do we use "drop"? What does "using" do?
9.
How to initialize a register to 0000?
10.
What is house keeping in assembler? And explain the following code

HELLOTSO START 0
* PRINT NOGEN
BEGIN SAVE (14,12)
LR 12,15
USING TYPE,12
ST 13,SAVE+4
LA 11,SAVE
ST 11,8(13)
LR 13,11
11.
What is base register?
12.
Why can only 256 bytes be moved from one address to another in a MVC?
13.
How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program?
14.
What is the use of TRT instruction and how it is working?
15.
What is need of START 0? In steed of can we use anyother numerics? if we use what will happen?
16.
How do you round the addition or subtraction of two numbers in assembler?

What does the following code do?
AP WKUR,=P5 where WKUR is a label?
17.
HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A SINGLE PROGRAM?
18.
How to pass instream data in sysin with Assembler?
19.
Can we use MVC instruction to move pack field to pack field. which instruction you will use and why?
20.
How to initialize 20,000 bytes in the Assembler?
21.
Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given address if the accumulator not equal to zero) RET(return from a subroutine) ADB (add the contents of register B to the accumulator and save result in the accumulator)?
22.
What is the difference between various read and find statement,and which one should be used when for better adabas performance?
23.
registers(0-15) ,where they are going be resides does that mean here is it resides whether real or virtual memory? and why? then why we are assign even registers(0 to 6) for FP operations?
24.
How to produce SOC7 abend?
25.
How to access VSAm file?
26.
Change process tool(code changes from dev to prd) The changes made to your code should be effected in live. How the process takes place. That is how can you move the code changes from development to production?
27.
Explain about maximum displacement and how to cross this limit?