Previous Topic: ELSE StatementNext Topic: HOLDFILE Command


ENDIF Statement

The ENDIF statement marks the end of a block of commands or statements (that begins with IFSYS) that are executed on only particular systems.

Syntax

ENDIF

This statement does not have any parameters.

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

Example

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

IFSYS SYSO1
   ATTACH FILESERVER SERVERTYPE(HOST)
 ENDIF