To an extent, I understand what you are saying.  But what I really need (to
avoid re-basing) is a conditional USING (regardless of a single DSECT or
two DSECTs).  In other words, how to get the assembler to use only one of
the following two USING statements?  (Because I don't want to tie up
another register.)

USING R10,TXTSINPT     <== for scripting mode
USING R10,TXTINPT      <== for legacy mode

Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio  45439  USA
(937) 294-5331


On Tue, Feb 17, 2026 at 11:48 AM Jon Perryman <[email protected]> wrote:

> On Tue, 17 Feb 2026 09:12:33 -0500, David Clark <[email protected]>
> wrote:
>
> >I was thinking that there should be a way such as
> >specifying two USINGs to accomplish what I want (rather than physically
> >re-basing by +2).
>
> As I said before, use 2 dsects. Review "dependent using" if you are
> unclear on using the technique.
>
>    PUSH USING
>    USING DS2,DS1FLD
>    USING DS2,DS1+2
>   POP USING
>

Reply via email to