ca.portal.admin

Re: PREALERT

Discussion created by ca.portal.admin on Feb 22, 2010
the screens actually have the instructions imbedded - not quite a
no-brainer - but should be easy enough to execute

William M. Allen, Jr. wrote:
Thanks Chris:

By the way we are running IDMS 16.0 SP7 on Z/OS 1.10. The CV was hung up
and
I couldn't get in. The usual suspect; there was a batch job holding over
250,000 locks and it filled pool 255. When I get to these screens do I
have
to type something to abort a specific task?

William M. Allen, Jr.
ARCH Consulting Associates, Ltd.
(704) 641-0296
-----Original Message-----
From: IDMS Public Discussion Forum [mailTo:IDMS-L@LISTSERV.IUASSN.COM] On
Behalf Of Chris Hoelscher
Sent: Monday, February 22, 2010 9:33 PM
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Re: [IDMSVENDOR-L] PREALERT

there are two entries set up to do this

from a vanilla set up - select IDMSMENU->IDMSM6->IDMSABND or ->IDMSABNZ


Chris Hoelscher
IDMS/DB2 Database Architect
Humana Inc
502-476-2538
choelscher@humana.com

you only need to test the programs that you want to work correctly






From:
""William M. Allen, Jr."" <archcons@BELLSOUTH.NET>
To:
IDMSVENDOR-L@LISTSERV.IUASSN.COM
Date:
02/22/2010 09:15 PM
Subject:
[IDMSVENDOR-L] PREALERT
Sent by:
IDMS 3rd-party providers forum <IDMSVENDOR-L@LISTSERV.IUASSN.COM>



Hello All:



I do not use PREALERT at all and tonight I had to cancel a task because it
consumed all of storage pool 255 and I could not figure out how to do it
with RREALERT so I answered the outstanding reply and did a DCMT VARY
ACTIVE
TASK TERMINATE TASKID ######.



Can I cancel an IDMS TASK from PREALERT and how can I do it on the
PREALERT
Screens?



Your assistance would be greatly appreciated.



William M. Allen, Jr.

ARCH Consulting Associates, Ltd.

(704) 641-0296



The information transmitted is intended only for the person or entity to
which it is addressed and may contain CONFIDENTIAL material. If you
receive
this material/information in error, please contact the sender and delete
or
destroy the material/information.


"
IDMS 3rd-party providers forum
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP
IDMSVENDOR-L@LISTSERV.IUASSN.COM
IDMSVENDOR-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: PREALERT
"The following was extracted from the ASG-PreAlert/IDMS user's guide:

IDMSABND
Select the IDMSABND screen from the IDMS Additional Features Menu (on the
IDMSM6 screen). The IDMSABND screen allows you to abend an active task by
using the IVRY line command.

Figure 92 * IDMSABND screen

COMMAND: IDMSABND 14:02:05.3 93.060 108.68% .TUT FOR TUTORIAL
IDMS IDMSDC1 V1 IDMS INTERFACE ACTIVE TASKS: 21 5.17/SEC . This screen is
used to Abend an active task.
ATSL TYP=UE,REP=N
ATID 102900 102899 102881 102898
ATCD ADS2 ADS2 ERUS ADS2
ATPN ADSOMAIN ADSOMAIN PACCU245 ADSOMAIN ====
=======================================================================
. Enter TID=nnn,CAN=Y to cancel a task, nnn is the task id (ATID).
IVRY
.
. The IVRY cancel task function sets the TCERQAB bit in the Task Control .
Element (TCE) for the task. This bit is interrogated by the IDMS .
dispatcher to Abend the task. If IDMS is in a tight loop and the .
dispatcher is not being entered, the task may not be abended.
.
These line commands are used with the IDMSABND screen:
Line Commands Description
IDMS PreAlert Interface
ATSL Active Task Selection Keywords
ATID Active Task ID
ATCD Task Code
ATPN Program Name
==== Line Separator / Auto-repeat
IVRY IDMS Vary Line Command

The TID= and CAN= keywords are used with the IVRY line command to set the
TCERQAB bit in the TCE for the specified task ID. This requests that the
task be abended. Occasionally, CAN=1 or CAN=2 may be required to set the
TCEABIN or TCERNWY bits in the TCE.


IDMS Vary Line command
The IVRY line command dynamically varies selected elements within the CV.
IVRY cancels an active task, changes the priority for an active task or task
definition, or enables/disables a task or program definitions.

The CANCEL TASK function sets the bit (either TCERQAB, TCEABIN, or
TCERNWY) in the Task Control Element (TCE) for the active task. The value of
the CAN= keyword determines which bit is set. These bits are interrogated by
the IDMS dispatcher in determining whether or not to abend the task. In most
cases the CAN=Y function to set the TCERQAB bit causes a task to be
cancelled. Occasionally, the CAN=1 or CAN=2 functions (to set the TCEABIN or
TCERNWY bits) may be required to cancel the task. If IDMS is in a tight loop
and the dispatcher is not being entered, the task may not be abended.

When you use the CAN=Y option to request a task abend, PreAlert will set the
task abend code in the TCEEXABC field. The default abend code is specified
in the userdata IABCODE keyword. You can override the default using the
ACD=xxxx keyword with the IVRY line command.

PreAlert may suppress the abend request when certain bits are set in the
TCE. If the abend request, PreAlert displays ABEND REQUEST SUPPRESSED with a
reason code appended to the message:
ABNDM The task is currently abending. PreAlert will not request an abend for
a task that is already abending.
NABNM The TCENABN flag has been set for the task. This flag indicates DON'T
ALLOW ABEND IF ON.
ARBKM The task is currently performing rollback processing. PreAlert will
not request an abend for a task performing rollback processing.

The TCENABNM check may be suppressed by using the SUP=NABNM keyword.
When the priority of an active task is changed, IDMS does not change its
position on the dispatching queue. Any new tasks created are placed in the
dispatching queue, either above or below this task, depending on the new
dispatching priority. As existing tasks end and new tasks are created, the
position on the dispatching queue is adjusted accordingly.


When the priority is changed for a task definition, the actual dispatching
priority may be different since the priorities from the user and the logical
terminal are included in the dispatching priority. Following are the
keywords for this command along with keyword combinations.


Keyword Function
TID=nnn Active Task ID
TCD=taskcode Task code for Task Definition PGM=program Program name for
Program Definition CAN=Y Request abend, TCERQAB bit
CAN=1 Request abend, TCEABIN bit
CAN=2 Request abend, TCERNWY bit
SUP=NABNM Suppress TCENABNM check.
PRI=nnn Reset Priority
ENA=Y|N Enable (Y) or Disable (N)
ACD=xxxx Specify abend code, up to 4 characters

Valid Keyword Combinations:
TID=nnnn,CAN=x Cancel an active task
TID=nnnn,CAN=x,SUP=NABNM Cancel an active task, suppress TCENABNM check
TID=nnn, PRI=nnn Reset active task dispatching priority TCD=taskcode,
PRI=nnn Reset task definition priority TCD=taskcode, ENA=Y|N Enable or
disable a task definition PGM=program, ENA=Y|N Enable or disable a program
definition TID=nnnn,CAN=x,ACD=xxxx Cancel an active task and specify the
abend code.
TID=nnnn,CAN=x,SUP=NABNM,ACD=xxxx Cancel an active task, suppress the
TCENABNM check and specify the abend code.


IDMS (jobname) V1 IDMS INTERFACE ACTIVE TASKS: 21 1.41/SEC ATSL TYP=UE
ATID 723 4163 4177 4178 4179
ATCD OPER T023B T011A T009A T018B
==== =======================================================================
IVRY TID=4163,CAN=Y
+ TASK ID 4163 ABEND REQUESTED

Outcomes