• Subject: Re: Determining last ipl date & time?
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 16 Jan 00 11:08:06 +1100

h
Hello Tim,

There are many ways to determine the last IPL:

        1/ Create a data area and have your start-up program set the date and 
time
                NOTE:- not 100% perfect because the start-up program runs 
whenever the 
controlling subsystem is started, not just when an IPL occurs, so you'ld need 
to track 
whether this was the first start of the start-up program.

        2/ Use DSPLOG and search QHST for messages CPI0C04 and CPF0934.  If 
you're quick 
enough they may still be in QSYSOPR also.

        3/ Check the start date and time of the SCPF job.  You can use the 
QUSRJOBI API 
to get the information for that job.  It always has job number 000000 and user 
profile 
QSYS.

        4/ I think the DSPIPLA command is supposed to show that information 
also.

but by far the easiest is to use a journal.  The system stores the IPL date and 
time in 
every journal receiver to create a boundary entry.  So create a journal 
receiver called 
IPL and a journal called IPL and then you can use the DSPJRN command to view 
the 
entries.  If you never attach files to the journal it will only contain IPL 
entries (and 
possibly change journal entries).

Regards,
Simon Coulter.


 FlyByNight Software         AS/400 Technical Specialists       
 Eclipse the competition - run your business on an IBM AS/400.  
                                                                
 Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           
 Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      
                                                                
 Windoze should not be open at Warp speed.                      
h-Mailer: Microsoft Outlook Express 5.00.2919.6600
Date: Sat, 15 Jan 2000 07:48:42 -0500
From: "TLTruax" <truax@usaor.net>
To: "MIDRANGE-L list" <MIDRANGE-L@midrange.com>
Reply-To: MIDRANGE-L@midrange.com
Subject: Determining last ipl date & time?
hi all,
I work for a company that has 28 AS400's spread throughout the country and it'd 
be nice to be able to determine the last ipl date & time on these machines 
without having to bother someone in operations to look it up for me.  I know if 
you CALL QSYS/QWCCRTEC it will do a quicky dump to QPSRVDMP spool file with a 
blow by blow of the last system IPL... but I ain't authorized to run this 
program on these machines as I am but a lowly programmer security 
classification.
Thanks to all and have a great day!
T.L.Truax
http://members.xoom.com/truax
h!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Hi all,
I work for a company that has 28 AS400's spread throughout the country and it'd be nice to be able to determine the last ipl date & time on these machines without having to bother someone in operations to look it up for me.  I know if you CALL QSYS/QWCCRTEC it will do a quicky dump to QPSRVDMP spool file with a blow by blow of the last system IPL... but I ain't authorized to run this program on these machines as I am but a lowly programmer security classification.
Thanks to all and have a great day!

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].