Previous Topic: Utilization of IFSYS/ENDIF StatementsNext Topic: Deactivate CA-L-Serv Servers and Tasks


Use the ELSE Statement

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

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