[ Previous | Next | Contents | Search ]
3270 Host Connection Program 2.1 and 1.3.3 for AIX: Guide and Reference

sethcons Command

Purpose

Sets administrative limit to number of HCON sessions. This command only applies to AIX Version 4.2 or later.

Syntax

sethcons Number

Description

The sethcons command (set hcon sessions) allows the HCON administrator to select the maximum number of sessions to allow on a specific machine running HCON. This number should correspond to the number of sessions the user has purchased to be run on HCON. If Number exceeds the number of sessions purchased, the sethcons command posts a message in the /hconerror log to inform the administrator of the event.

You can use the System Management Interface Tool (SMIT) to run this command. To use SMIT, enter:

smit sethcons

Flags

None

Parameters

Number Specifies the maximum number of sessions allowed to run HCON.

Exit Status

This command returns the following exit values:

0 Successful completion.
11 The specified option is not valid.
14 ODM Fatal Error: The database may be damaged. Use local problem reporting procedures.
19 The database is either damaged or deleted. Use local problem reporting procedures.
50 Cannot initiate an ODM connection.
>0 An error occurred.

Security

Access Control: You must have root authority to run this command.

Auditing Events: N/A

Examples

To set the maximum number of HCON sessions to 25, enter:

sethcons 25

Displays a message similar to the following :

0789-927 Maximum number of sessions has been set to 25.

Files

/usr/bin/sethcons Contains the sethcons command.

Related Information

Commands: smit

Articles: System Management Interface Tool (SMIT): Overview in AIX Version 4.3 System Management Guide: Operating System and Devices


[ Previous | Next | Contents | Search ]