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

Explain the difference between various read and find statement?

634


Why do we use "drop"?

574


Explain how to access vsam file?

619


What is maximum displacement and how to cross this limit?

688


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

612






how to pass the parameters from jcl to assembler pgm?

673


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

588


Explain about house keeping in assembler?

651


What is icm instruction?

650


how do you round the addition or subtraction of two numbers in assembler? what does the following code do? 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?

697


Ap wkur,=p5 where wkur is a label?

688


how to initialize a register to 0000?

675


how to retrieve the instream data in sysin?

688


Explain the difference between various read and find statement and which one should be used when for better adabas performance?

594


How to pass the parameters from jcl to assembler program?

583