IBM Mainframe Discussion List <[email protected]> wrote on 12/04/2008
03:46:33 PM:
> On Thu, 4 Dec 2008 02:31:27 -0500, Jim Mulder
> <[EMAIL PROTECTED]> wrote:
>
> >...
> > FORCE ARM is just a way to CANCEL a non-cancellable job. Other
> >than using the FORCE completion code (A22) instead of the
> >CANCEL completion code (222), I am not aware of any differences
> >between the result of a CANCEL and a FORCE ARM. ...
>
> Thanks for firming up what many of us assumed.
>
> But since nobody else has asked, ... What does that have to do
> with ARM? I understand that ARM might be able to restart a
> canceled non-cancelable started task while it very well might not
> be able to restart a FORCEd one, but that seems like a far fetched
> reason for the name.
>
> I personally think it's too bad FORCE <anything> was picked as a
> CANCEL for non-cancellable jobs. "CANCEL jobname,FORCE"
> would have been a lot better if FORCE just *had* to be there.
> I guess IBM just forgot to ask me. :-)
I don't know why ARM was chosen as the parameter name for
FORCE ARM, and I don't see any clues in IEE3703D (the
FORCE/CANCEL command processor). From the change flags, I would
guess that it was added in either SP1.2 or SP2.1 (either way, that
would mean it would have been designed about 30 years ago). My
best guess would be that maybe it was an acronym for
"Allow Resource Managers".
The comments in the prolog remind us that there is no
connect between the ARM in FORCE ARM and the ARM restart
manager component (a 1990s creation):
NOTE: ARM AND ARMRESTART PARAMETERS ARE DIFFERENT
IN MEANING AND ARE NOT RELATED IN ANY WAY:
ARM PARAMETER CAN BE SPECIFIED WITH FORCE CMD
TO TERMINATE JOB,TSO USER OR STARTED PROC, IF
IT IS NON-CANCELLABLE.
ARMRESTART PARAMETER CAN BE SPECIFIED WITH
EITHER CANCEL OR FORCE COMMAND TO RESTART A
JOB OR STARTED PROC AFTER TERMINATION, IF IT
WAS REGISTERED AS AN ARM ( Automatic Restart
Manager) ELEMENT.
ARMRESTART PARAMETER IS INVALID WITH U=
KEYWORD.
And as to what FORCE ARM actually does:
5. A CANCEL OR FORCE ARM WAS ISSUED. @G860PSS
@G860PSS
IF THE CSCB INDICATES ASSIGNMENT PENDING, THE @G860PSS
CALL TO SIC IS NOT MADE AND THE ECB IS NOT @G860PSS
POSTED. THIS IS BECAUSE THE CSCB IS NOT IN THE @G860PSS
PROPER FORMAT. A FORCE COMMAND CAN THEN BE @G860PSS
ISSUED TO REMOVE THE TASK. @G860PSS
@G860PSS
IF THE TYPES MATCH, AND U= WAS SPECIFIED, @G860PSS
THE BRANCH TO SIC IS TAKEN @L6C
AND THE CANCEL ECB (CHCECB) IN THE CSCB IS POSTED, Y02669
WITHIN SIC, WITH ONE OF THE FOLLOWING COMPLETION Y02669
CODES: Y02669
@G860PSS
COMPLETION CODE COMMAND MEANING @G860PSS
--------------- ------- ----------------- @G860PSS
00000122 CANCEL CANCEL W/ DUMP @G860PSS
00000222 CANCEL CANCEL W/OUT DUMP @G860PSS
00000A22 FORCE ARM FORCE ARM @G860PSS
@G860PSS
IF A JOB CANCEL WAS SPECIFIED, @G860PSS
THE ABOVE BRANCH TO SIC IS TAKEN (SIC WILL @L6C
NOT POST THE CANCEL ECB FOR JOBS) @G860PSS
AND THE CANCEL ECB IS POSTED WITH ONE OF THE @ZA05360
ABOVE COMPLETION CODES. BIT CHAFORCE IS TURNED ON @G17FPSS
TO SHOW THAT A CANCEL OR FORCE ARM HAS BEEN @G860PSS
ISSUED FOR THIS JOB. BIT ASSBNRST IS TURNED ON IF @LBA
ARMRESTART PARAMETER WAS NOT SPECIFIED ON THE COMMAND @LBA
Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html