I saw this technique used 30 years ago; it should still work:

1) Schedule an SRB to the *MASTER* address space.

 2) When the SRB executes, it locates the IEEVWAIT task in that address
space and issues a CIRB to hang an IRB off that task.

3) When the IRB pops, it attaches a task that does the STIMERM.

Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

On Sun, Aug 23, 2026, 1:15 PM [email protected] <[email protected]> wrote:

>  Hello,Im lookig to run some code that resides in LPA-common -The routine
> has no Address Space; no Started Task and No Batch Job asscoiated with it
> -It must not be depended on any other software or software product such as
> automation -To briefly explain; this roitine would wake up every 1/2 hour
> to do some work and then go back to sleep based on STIMERM -.The issue
> becomes, how do I get this routine initiallty started to do its initial
> house keeping and go into the STIMERM loop -.My first thought was to
> schedule and SRB from a SSI Initialization Routine during IPL -But theres
> no Address Space associated with this piece of code -.Then I thought there
> may be a possible zos exit that could be used like CICS has -I really do
> not want to infuse any code in the bowls of zOS -.This is uncharted waters
> for me so any Ideas need to be detailed-Im not looking for a work around, I
> would like to have some code that wakes up every-so-often that is notpart
> of any address space (STC or Batch) - IM not asking why, Im asking How do I
> accoomplish this -.paul
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to