When an OSF STOP command is issued to a server that is currently running a transaction (ACTIVE status), the server will not be terminated until the current transaction completes.
To terminate an active server immediately, issue the z/OS CANCEL command.
For example, a server executing this REXX program terminates as usual:
asid = C2X(OPSINFO('ASID'))
ADDRESS OPSCTL "OSF STOP" asid
exit
In this example, the server transaction will not be terminated until the 30 second OPSWAIT completes and the transaction terminates (assuming that OSFWAIT and OSFRUN are not exceeded):
asid = C2X(OPSINFO('ASID'))
ADDRESS OPSCTL "OSF STOP" asid
temp = OPSWAIT(30)
exit
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|