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

Answer Posted / md saifullah

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

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are data passed from jcl parm to assembler program?

581


how to retrieve the instream data in sysin?

677


Explain how to initialize a register to 0000?

586


How to pass the parameters from jcl to assembler program?

573


How many maximum base registers we can have in a program?

619






What is maximum displacement?

620


What does "using" do?

591


explain about maximum displacement and how to cross this limit?

697


Explain the difference in data type "x" and "p"?

592


Explain how to produce soc7 abend?

640


How many maximum base registers we can have in a single program?

637


Explain the difference between various read and find statement?

619


Explain about house keeping in assembler?

634


Why do we use "drop"?

564


What is maximum displacement and how to cross this limit?

665