IFAMCLOSE command

From m204wiki
Jump to: navigation, search

Summary

Privileges
System manager
Function
Closes the Host Language Interface facility IFAM2 channel

Syntax

IFAMCLOSE [CRAM | IUCV]

Syntax notes

If the channel type is not specified, CRAM is assumed. However, if no CRAM threads are defined, IUCV is assumed.

Example

IFAMCLOSE IUCV

Usage notes

The IFAMCLOSE command closes the HLI facility IFAM2 channel and disconnects all IFAM2 threads on that channel. IFAMCLOSE might be issued to free any IFAM2 application programs waiting as the result of an IFAMDRAIN command, or to allow the channel name to be switched.

Before the IFAMCLOSE command is accepted, IFAM2 must be completely drained by means of the IFAMDRAIN command. Otherwise, an error message is produced, and no action is taken. Control of IFAM2 threads in the Model 204 region is explained in detail in IFAM2.

In z/VM, only IUCV communications are supported.