Previous Topic

Next Topic

Book Contents

Book Index

Example

Check for the DSI530I Netview message. If the second word in the message is AAUTCNMI, set the status to UP and end the rule.

Figure 161 DO RETURN Parameter Example

RL: DFH1500    LIB CTO.PROD.RULES                               TABLE: JOB

  COMMAND ===>                                                    SCROLL===> CRSR

+-----------------------------------------------------------------------------+

ON MESSAGE  = DSI530I

   JNAME          JTYPE      SMFID        SYSTEM          USERID

   ROUTE          DESC       CONSOLEID    CONSOLE

   APPEARED       TIMES IN      MINUTES                        And/Or/Not

OWNER IOADMIN  GROUP                         MODE LOG     RUNTSEC

THRESHOLD

DESCRIPTION NLDM/NPDA IS ACTIVE

===========================================================================

IF       %%$V2 EQ  ''AAUTCNMI''

DO SET      = %%STATUS_NLDM = UP                                  GLOBAL  Y

RETURN

ENDIF

IF       %%$V2 EQ  ''BNJDSERV''

DO SET      = %%STATUS_NPDA = UP                                  GLOBAL  Y

ENDIF

DO

FILL IN RULE DEFINITION. CMDS: EDIT, SCHED, OPT, SHPF                  09.18.53

Parent Topic

DO RETURN: Automated Console Action Parameter