Previous Topic: Utilization of IFSYS/ENDIF Statements

Next Topic: Deactivate CA-L-Serv Servers and Tasks

Use the ELSE Statement

You can also use the ELSE statement within an IFSYS/ENDIF block. The ELSE statement will execute commands on all systems that do not match the system names specified with the IFSYS statement. For example, if your complex has only the three systems named above, you can achieve the same result with the following statements:

IFSYS   SYS01
   INCLUDE   HOSTPARM
   INCLUDE   BNDLPARM
   INCLUDE   NDVRPARM
ELSE
   INCLUDE   REMOPARM
ENDIF