I NEVER do a PWRDWNSYS *IMMED, I always delay using a controlled end of at
least 30 to 60 seconds. Just figures it gives the system time to close
everything properly and complete any I/Os before shutting down.

JMHO

Pete

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Friday, January 11, 2008 2:00 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Controlled versus immediate.

Been suggested that I replace using
ENDSBS *ALL *IMMED
with
ENDSBS *ALL *CNTRLD DELAY(120)
That I can understand because of the .0005% of programmers who actually
use the shutdown op code or check for that particular status when doing an
i/o or something.

It was also suggested that I change
PWRDWNSYS OPTION(*IMMED) RESTART(*YES *FULL) IPLSRC(B)
to
PWRDWNSYS OPTION(*CNTRLD) DELAY(120) RESTART(*YES *FULL) IPLSRC(B)
If I've already done the ENDSBS, and waited for the appropriate message in
QSYSOPR, that what's the benefit?

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.