Function OPSINFO(IPLTIME) returns a different time from z/OS command D IPLINFO
search cancel

Function OPSINFO(IPLTIME) returns a different time from z/OS command D IPLINFO

book

Article ID: 370080

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

When using the function OPSINFO('IPLTIME') we noticed that the time has a difference of seconds from the output of the z/OS command D IPLINFO

Environment

OPS/MVS

Cause

The difference you see between the time of the function OPSINFO('IPLTIME') and the output of the z/OS command D IPLINFO is normal and is result of the fact that the OPSINFO function gets this information from a different control block that is initialized when SMF is started. 

Resolution

To get the exact same time of the z/OS command you can use the function OPSIPL:

results = OPSIPL('LOAD','IPLTOD')

Sample results:

 XX 2024/06/15 22:55:25

where XX is the suffix of the LOADxx member of the z/OS PARMLIB library

Additional Information