IBM Assembler Question:

Download Job Interview Questions and Answers PDF

What is the use of TRT instruction and how it is working?

IBM Assembler Interview Question
IBM Assembler Interview Question

Answer:

for example we want to test if given variable is numeric we can do it by following code.

We can define a table with all FF execpt from 0 t0 9 00

Table1 DC 256c'ff'
org table1
dc 10c'00'

Now we can give
TRT var1,table1
BZ numeric

Download IBM Assembler Interview Questions And Answers PDF

Previous QuestionNext Question
How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program?What is need of START 0? In steed of can we use anyother numerics? if we use what will happen?