The SMF42PTS datetimestamp is the OPEN date AND the OPEN time.

Barry


Herbert W “Barry” Merrill, PHD
President-Programmer
Merrill Consultants
MXG Software
10717 Cromwell Drive
Dallas, TX 75229
www.mxg.com
214 351 1966 

[email protected] for business questions
[email protected] for technical questions
[email protected]  





-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Jon 
Perryman
Sent: Saturday, October 5, 2019 2:38 PM
To: [email protected]
Subject: Re: IBM SSI Function Codes 16 and 17

 On Saturday, October 5, 2019, 08:53:07 AM PDT, Charles Mills 
<[email protected]> wrote:
 
 > I was assuming (yes, I know) that the OP wanted realtime notification of the 
 > OPEN, 
> based on the mention of exits.
> If not, SMF14OPE is pretty good. It gives the time but not the date, which is 
> kind of half an answer.


>From the SMF exit, you can get the current TOD. I'm not sure at what stage of 
>the open the exit is called but I suspect it's at open complete. Is this time 
>not accurate enough? Or do you need from start of OPEN and end of CLOSE?

>From the SMF data, the time will have the same accuracy mentioned. The date 
>will be the header date plus 1 if the open time is less than the header time.

Since the time difference is not available, maybe you can somehow save the open 
time in the DCB or ACB.

The times can be affected by dispatching or swap out. You will need to 
incorporate this into your requirements. 

If all else fails, SVC screening could be a last resort consideration. I don't 
recommend it but you often do what you have to do. Just make sure you take 
extreme precautions.

Jon.  

----------------------------------------------------------------------
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