TRT "does more" which makes me guess that it is slower. TRT looks up each byte in a table, checks whether the table value is zero or not, and if not, inserts the value into R2.
SRST just compares each byte to a particular value. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Tom Marchant Sent: Friday, March 13, 2015 1:54 PM To: [email protected] Subject: Re: Need assembler trick to quickly get second and third DS qualifiers On Fri, 13 Mar 2015 21:19:03 +0200, Itschak Mugzach wrote: >The main difference between srtr and trt is that trt looks for one or >more delimitets and srtr for a single on and requires less storage (the >translate table). I suspect that SRST is also considerably faster. TRT is notoriously slow. The OP specified a desire for speed. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
