ISKEYLN4 is the length of an entire entry - 12 bytes in your case iirc. I did say I may not have edited it as well as I might have.
-----Original Message----- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Dougie Lawson Sent: Monday, October 21, 2013 1:29 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Linear search vs binary On 21 October 2013 13:34, Alan Atkinson <aatkin...@mediaocean.com> wrote: > > MH RF,ISKEYLN4 > Hi Alan, Thanks for the code sample. I wasn't sure what value that ISKEYLN4 half word should hold. I found a really neat macro as part of IMS (member IMSORT in IMS.SDFSMAC) which means I can easily build a static table that is quicksorted (by the assembler) into alpha order. That's saved me a lot of work. Regards, Dougie. -- http://twitter.com/DougieLawson