Previous Topic: DISPLAY Command

Next Topic: ENDIF Statement

ELSE Statement

The ELSE statement is used within an IFSYS/ENDIF block to direct commands to all systems that do not match the system names specified on the IFSYS statement.

Syntax

ELSE

There are no parameters that qualify the ELSE statement. However, the ELSE statement must be followed by a command or command block that is to be executed.

Note: You can specify this statement in the CA-L‑Serv parameter data set.

For information on directing commands or statements to only particular systems, see the chapter "CA‑L‑Serv" in the Administration Guide.

Example

To execute an ATTACH FILESERVER SERVERTYPE(HOST) command on system SYS01 and to execute an ATTACH FILESERVER SERVERTYPE(REMOTE) on all other systems, specify these statements in the CA-L‑Serv partitioned data set:

IFSYS SYS01
   ATTACH FILESERVER SERVERTYPE(HOST)
 ELSE
   ATTACH FILESERVER SERVERTYPE(REMOTE)
 ENDIF