VARY ANS command

Read syntax diagramSkip visual syntax diagram
>>-VARY-- --NET--,--ANS--=--+-OFF-+--,--ID--=--line_name-------->
                            '-ON--'                        

>--+--------+--------------------------------------------------><
   '-,--ACT-'   

Abbreviations

Operand Abbreviation
VARY V

Purpose

The VARY ANS (answer mode) command enables active switched SDLC lines with dial-in capability to allow or disallow an incoming call from a physical unit defined in a switched major node. For an incoming call to be allowed, an active line must be in answer mode.

The mode setting can be specified in the definition statement for the line and can be changed whenever the line is active by using this command. The mode setting of a line can also be specified when the line is activated (see the description of the ANS operand on the VARY ACT command).

The VARY ANS command is most often used for lines with both dial-in and dial-out capability. To ensure that a line is available for dial-out requests, it can be taken out of answer mode while it is still active. Incoming calls are blocked, but outgoing calls proceed normally.

Operands

ACT
Activates the line, if it is not active already.
ANS
Specifies whether the line is to be put in answer mode.
ANS=ON
Specifies that the line is to be put in answer mode. When a line is in answer mode (and active), the answering subarea node accepts an incoming call from a dial-in device and notifies VTAM® of the call so that sessions can be established.
ANS=OFF
Specifies that the line is to be taken out of answer mode. If there is an existing session using the line, ANS=OFF does not break the session, but no further incoming calls are accepted after the session ends.
ID=line_name
Specifies the name of an SDLC line. The line must be a switched line with dial-in capability. The line must be active, unless the ACT operand is also specified on this command.