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

What is maximum displacement?

620


how to pass the parameters from jcl to assembler pgm?

657


How do you round the addition or subtraction of two numbers in assembler?

602


Explain how to pass instream data in sysin with assembler?

648


How to pass the parameters from jcl to assembler program?

576






What is need of start 0?

659


What will happen if we drop the base register in the program which contains only one basereg?

577


Explain how to initialize a register to 0000?

589


What is house keeping in assembler?

593


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

621


how to retrieve the instream data in sysin?

677


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

595


Explain how to produce soc7 abend?

643


Explain about base register?

607


Explain about house keeping in assembler?

636