Ways other than STCK/STCKE for getting time involve an SVC, or calling a system service, or calling a subsystem service (CICS), where front-ending the service is an obvious approach -- probably why the question was raised specifically on how a hardware instruction like STCK could be handled when there is nothing to front-end. Just replacing what looks like an STCK in a module does carry some risk of corrupting what is really a data field that just happens to have an "inconvenient" value, unless Hourglass does a complete logic-flow analysis of the module (doubtful) or allows for some manual guidance on what constitutes data areas that shouldn't be checked. Even checking for an "STCK/STCKE" surrounded by other instructions wouldn't be sufficient to eliminate the possibility of a data field, since in some contexts (like target of an EXecute), instructions themselves may be "data" and could be mixed with other data fields.

To do its thing, obviously Hourglass must also front-end those other time services and not just deal with STCK./STCKE
    JC Ewing

On 09/10/2012 05:01 PM, Charles Mills wrote:
Yow!

Necessary but not sufficient. You would need to catch the TIME macro as well, 
and the various HLL library calls.

I'm sorry I asked :-(

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Gibney, Dave
Sent: Monday, September 10, 2012 2:48 PM
To: [email protected]
Subject: Re: Possible to run a jobstep with a different timezone?

-----Original Message-----
On Mon, 10 Sep 2012 11:06:17 -0700, Lizette Koehler
<[email protected]> wrote:
The process intercepts teh STCK instruction.  Not sure if that is
something
you want to do.
...

We had Hourglass. IIRC, to intercept STCK, it intercepted when the module was loaded, 
found any STCK instructions and changed them such that their code would 
"happen".



--
Joel C. Ewing,    Bentonville, AR       [email protected] 

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

Reply via email to