I am not an HLASM macro language expert but I am going to predict that if the count is variable, and if there is no built-in function like SUBWORD() then you are stuck with writing a loop.
It's too bad that the macro ("conditional assembly") language does not have a real loop construct; that you have to do loops with AGO's and AIF's. Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Paul Gilmartin Sent: Saturday, May 28, 2022 8:24 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Subrange of a list On May 27, 2022, at 22:31:27, Charles Mills wrote: > > Is &SYSLIST always five elements? > No, but it's always N'&SYSLIST. -- gil