In <[email protected]>, on 03/13/2015
   at 01:28 PM, Pinnacle <[email protected]> said:

>I have a dataset FIRST.SECOND.THIRD,

Do you also want to validate the input as well? What if an index level
is empty or longer than 8? What if there are more than 3 levels?

>I need performance here.

Why? There are specialized instructions like SRST and TRT that can
make the code shorter, but how many times a second do you do this?

OTOH, the code with SRST might be as readable as with a CLI loop.
YMMV.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to